OpenBarnyard
Loading...
Searching...
No Matches
TVertexFactoryFormat.h
Go to the documentation of this file.
1
#pragma once
2
3
TOSHI_NAMESPACE_START
4
5
struct
TVertexStreamFormat
6
{
7
TUINT16
m_uiVertexSize
= 0;
8
TUINT
m_Unk
= 0;
9
};
10
11
struct
TVertexFactoryFormat
12
{
13
static
constexpr
TUINT
MAX_NUM_STREAMS
= 8;
14
15
TUINT
m_uiNumStreams
= 0;
16
TVertexStreamFormat
m_aStreamFormats
[
MAX_NUM_STREAMS
];
17
18
TUINT
GetNumStreams
()
const
{
return
m_uiNumStreams
; }
19
};
20
21
TOSHI_NAMESPACE_END
TOSHI_NAMESPACE_START
#define TOSHI_NAMESPACE_START
Definition
Defines.h:47
TOSHI_NAMESPACE_END
#define TOSHI_NAMESPACE_END
Definition
Defines.h:50
TUINT16
uint16_t TUINT16
Definition
Typedefs.h:15
TUINT
unsigned int TUINT
Definition
Typedefs.h:8
TVertexStreamFormat
Definition
TVertexFactoryFormat.h:6
TVertexStreamFormat::m_uiVertexSize
TUINT16 m_uiVertexSize
Definition
TVertexFactoryFormat.h:7
TVertexStreamFormat::m_Unk
TUINT m_Unk
Definition
TVertexFactoryFormat.h:8
TVertexFactoryFormat
Definition
TVertexFactoryFormat.h:12
TVertexFactoryFormat::MAX_NUM_STREAMS
static constexpr TUINT MAX_NUM_STREAMS
Definition
TVertexFactoryFormat.h:13
TVertexFactoryFormat::m_uiNumStreams
TUINT m_uiNumStreams
Definition
TVertexFactoryFormat.h:15
TVertexFactoryFormat::GetNumStreams
TUINT GetNumStreams() const
Definition
TVertexFactoryFormat.h:18
TVertexFactoryFormat::m_aStreamFormats
TVertexStreamFormat m_aStreamFormats[MAX_NUM_STREAMS]
Definition
TVertexFactoryFormat.h:16
D:
_dev
OpenBarnyard
Source
Toshi
Source
Render
TVertexFactoryFormat.h
Generated by
1.13.2