#include <vertexcomponentbase.h>
|
enum | Format {
Float
, Float2
, Float3
, Float4
,
Half
, Half2
, Half3
, Half4
,
UInt
, UInt2
, UInt3
, UInt4
,
Int
, Int2
, Int3
, Int4
,
Short
, Short2
, Short3
, Short4
,
UShort
, UShort2
, UShort3
, UShort4
,
UByte4
, Byte4
, UByte4N
, Byte4N
,
Short2N
, Short4N
, UShort2N
, UShort4N
,
InvalidFormat
} |
| component format More...
|
|
enum | StrideType { PerVertex
, PerInstance
} |
| stride type tells if the compoent should be per-instance or per-vertex More...
|
|
|
void | SetByteOffset (IndexT offset) |
| set the vertex byte offset (called from VertexLayoutBase::Setup())
|
|
◆ Format
component format
Enumerator |
---|
Float | |
Float2 | |
Float3 | |
Float4 | |
Half | |
Half2 | |
Half3 | |
Half4 | |
UInt | |
UInt2 | |
UInt3 | |
UInt4 | |
Int | |
Int2 | |
Int3 | |
Int4 | |
Short | |
Short2 | |
Short3 | |
Short4 | |
UShort | |
UShort2 | |
UShort3 | |
UShort4 | |
UByte4 | |
Byte4 | |
UByte4N | |
Byte4N | |
Short2N | |
Short4N | |
UShort2N | |
UShort4N | |
InvalidFormat | |
◆ StrideType
stride type tells if the compoent should be per-instance or per-vertex
Enumerator |
---|
PerVertex | |
PerInstance | |
◆ VertexComponentBase() [1/2]
Base::VertexComponentBase::VertexComponentBase |
( |
| ) |
|
|
inline |
◆ VertexComponentBase() [2/2]
◆ FormatToSignature()
convert format to signature
◆ FormatToString()
◆ GetByteOffset()
IndexT Base::VertexComponentBase::GetByteOffset |
( |
| ) |
const |
|
inline |
get the byte offset of this component (only valid when part of a VertexLayout)
◆ GetByteSize()
SizeT Base::VertexComponentBase::GetByteSize |
( |
| ) |
const |
|
inline |
get the byte size of the vertex component
◆ GetFormat()
get vertex component format
◆ GetIndex()
IndexT Base::VertexComponentBase::GetIndex |
( |
| ) |
const |
|
inline |
◆ GetSignature()
Util::String Base::VertexComponentBase::GetSignature |
( |
| ) |
const |
|
inline |
get a unique signature of the vertex component
◆ GetStreamIndex()
IndexT Base::VertexComponentBase::GetStreamIndex |
( |
| ) |
const |
|
inline |
◆ GetStride()
SizeT Base::VertexComponentBase::GetStride |
( |
| ) |
const |
|
inline |
get stride between instances
◆ GetStrideType()
◆ SetByteOffset()
void Base::VertexComponentBase::SetByteOffset |
( |
IndexT | offset | ) |
|
|
inlineprotected |
set the vertex byte offset (called from VertexLayoutBase::Setup())
◆ StringToFormat()
◆ CoreGraphics::CreateVertexLayout
◆ byteOffset
IndexT Base::VertexComponentBase::byteOffset |
|
protected |
◆ format
Format Base::VertexComponentBase::format |
|
protected |
◆ index
IndexT Base::VertexComponentBase::index |
|
protected |
◆ streamIndex
IndexT Base::VertexComponentBase::streamIndex |
|
protected |
◆ stride
SizeT Base::VertexComponentBase::stride |
|
protected |
◆ strideType
The documentation for this class was generated from the following file: