Castor3D
..
|
Vertex with bones infos representation. More...
Public Member Functions | |
C3D_API | BonedVertex (BufferElementGroup &p_group) |
Constructor. More... | |
C3D_API | BonedVertex (BonedVertex const &p_source) |
Copy constructor. More... | |
C3D_API BonedVertex & | operator= (BonedVertex const &p_source) |
Copy assignment operator. More... | |
virtual C3D_API | ~BonedVertex () |
Destructor. More... | |
C3D_API stVERTEX_BONE_DATA | GetBones () const |
Retrieves the group bones data. More... | |
C3D_API void | SetBones (stVERTEX_BONE_DATA *p_data) |
Sets the group bones datas. More... | |
C3D_API void | SetBones (stVERTEX_BONE_DATA const &p_data) |
Sets the group bones datas. More... | |
Static Public Member Functions | |
static C3D_API stVERTEX_BONE_DATA | GetBones (BufferElementGroupSPtr p_group) |
Retrieves the group bones data. More... | |
static C3D_API stVERTEX_BONE_DATA | GetBones (BufferElementGroup const &p_group) |
Retrieves the group bones data. More... | |
static C3D_API void | SetBones (BufferElementGroupSPtr p_group, stVERTEX_BONE_DATA *p_pData) |
Sets the group bones datas. More... | |
static C3D_API void | SetBones (BufferElementGroupSPtr p_group, stVERTEX_BONE_DATA const &p_data) |
Sets the group bones datas. More... | |
static C3D_API void | SetBones (BufferElementGroup &p_group, stVERTEX_BONE_DATA *p_data) |
Sets the group bones datas. More... | |
static C3D_API void | SetBones (BufferElementGroup &p_group, stVERTEX_BONE_DATA const &p_data) |
Sets the group bones datas. More... | |
static const uint32_t | GetOffsetIds () |
Retrieves bones informations' buffer offset. More... | |
static const uint32_t | GetSizeIds () |
Retrieves bones informations binary size. More... | |
static const uint32_t | GetOffsetWeights () |
Retrieves bones informations' buffer offset. More... | |
static const uint32_t | GetSizeWeights () |
Retrieves bones informations binary size. More... | |
Static Public Attributes | |
static const uint32_t | Stride = sm_uiOffsetWeights + sm_uiSizeWeights |
The vertex bones data size. More... | |
Vertex with bones infos representation.
C3D_API Castor3D::BonedVertex::BonedVertex | ( | BufferElementGroup & | p_group | ) |
Constructor.
[in] | p_group | The wrapped group |
C3D_API Castor3D::BonedVertex::BonedVertex | ( | BonedVertex const & | p_source | ) |
Copy constructor.
[in] | p_source | The source object |
|
virtual |
Destructor.
C3D_API stVERTEX_BONE_DATA Castor3D::BonedVertex::GetBones | ( | ) | const |
Retrieves the group bones data.
|
static |
Retrieves the group bones data.
[in] | p_group | The group |
|
static |
Retrieves the group bones data.
[in] | p_group | The group |
|
inlinestatic |
Retrieves bones informations' buffer offset.
|
inlinestatic |
Retrieves bones informations' buffer offset.
|
inlinestatic |
Retrieves bones informations binary size.
|
inlinestatic |
Retrieves bones informations binary size.
C3D_API BonedVertex& Castor3D::BonedVertex::operator= | ( | BonedVertex const & | p_source | ) |
Copy assignment operator.
[in] | p_source | The source object |
C3D_API void Castor3D::BonedVertex::SetBones | ( | stVERTEX_BONE_DATA * | p_data | ) |
Sets the group bones datas.
[in] | p_data | The new value |
C3D_API void Castor3D::BonedVertex::SetBones | ( | stVERTEX_BONE_DATA const & | p_data | ) |
Sets the group bones datas.
[in] | p_data | The new value |
|
static |
Sets the group bones datas.
[out] | p_group | The group |
[in] | p_pData | The new value |
|
static |
Sets the group bones datas.
[out] | p_group | The group |
[in] | p_data | The new value |
|
static |
Sets the group bones datas.
[out] | p_group | The group |
[in] | p_data | The new value |
|
static |
Sets the group bones datas.
[out] | p_group | The group |
[in] | p_data | The new value |
|
static |
The vertex bones data size.