TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
cFVFDescription Class Reference

Detailed Description

FVF description class.

Public Member Functions

 cFVFDescription (tFVF aFVF=eFVF(0))
 Constructor. More...
 
void Setup (tFVF aFVF)
 Setup the FVF structure. More...
 
tBool operator== (const cFVFDescription &fvf) const
 Compare two FVF. More...
 
tBool operator!= (const cFVFDescription &fvf) const
 Compare two FVF. More...
 
tFVF GetFVF () const
 Get the FVF description. More...
 
tU16 GetStride () const
 Get the FVF stride. More...
 
tBool HasPosition () const
 Check if the FVF has a position. More...
 
tI32 GetPositionOffset () const
 Get the position offset. More...
 
tU32 GetPositionSize () const
 Get the position size. More...
 
tBool HasWeights1 () const
 Check if the FVF has 1 weight. More...
 
tBool HasWeights2 () const
 Check if the FVF has 2 weights. More...
 
tBool HasWeights3 () const
 Check if the FVF has 3 weights. More...
 
tBool HasWeights4 () const
 Check if the FVF has 4 weights. More...
 
tI16 GetWeightsOffset () const
 Get the weight offset. More...
 
tU16 GetNumWeights () const
 Get the number of weights. More...
 
tBool HasIndices () const
 Check if the FVF has indices. More...
 
tI16 GetIndicesOffset () const
 Get the indices offset. More...
 
tBool HasNormal () const
 Check if the FVF has normals. More...
 
tI16 GetNormalOffset () const
 Get the normal offset. More...
 
tBool HasPointSize () const
 Check if the FVF has a point size. More...
 
tI16 GetPointSizeOffset () const
 Get the offset of the point size. More...
 
tBool HasColorA () const
 Check if the FVF has a color A. More...
 
tI16 GetColorAOffset () const
 Get the offset of the color A. More...
 
tU16 GetNumTexCoos () const
 Get the number of texture coordinates. More...
 
tBool HasTexCoo (tU32 idx=0) const
 Check if the FVF has the specified texture coordinate. (index based) More...
 
tU16 GetTexCooDim (tU32 idx=0) const
 Get the number of dimensions of the specified texture coordinates. (index based). More...
 
tU16 GetTexCooOffset (tU32 idx=0) const
 Get the offset of the specified texture coordinates. (index based) More...
 

Member Function Documentation

tFVF GetFVF ( ) const

Get the FVF description.

tU16 GetStride ( ) const

Get the FVF stride.

tBool HasPosition ( ) const

Check if the FVF has a position.

tI32 GetPositionOffset ( ) const

Get the position offset.

tU32 GetPositionSize ( ) const

Get the position size.

tBool HasWeights1 ( ) const

Check if the FVF has 1 weight.

tBool HasWeights2 ( ) const

Check if the FVF has 2 weights.

tBool HasWeights3 ( ) const

Check if the FVF has 3 weights.

tBool HasWeights4 ( ) const

Check if the FVF has 4 weights.

tI16 GetWeightsOffset ( ) const

Get the weight offset.

tU16 GetNumWeights ( ) const

Get the number of weights.

tBool HasIndices ( ) const

Check if the FVF has indices.

tI16 GetIndicesOffset ( ) const

Get the indices offset.

tBool HasNormal ( ) const

Check if the FVF has normals.

tI16 GetNormalOffset ( ) const

Get the normal offset.

tBool HasPointSize ( ) const

Check if the FVF has a point size.

tI16 GetPointSizeOffset ( ) const

Get the offset of the point size.

tBool HasColorA ( ) const

Check if the FVF has a color A.

tI16 GetColorAOffset ( ) const

Get the offset of the color A.

tU16 GetNumTexCoos ( ) const

Get the number of texture coordinates.

tBool HasTexCoo ( tU32  idx = 0) const

Check if the FVF has the specified texture coordinate. (index based)

tU16 GetTexCooDim ( tU32  idx = 0) const

Get the number of dimensions of the specified texture coordinates. (index based).

tU16 GetTexCooOffset ( tU32  idx = 0) const

Get the offset of the specified texture coordinates. (index based)