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

Detailed Description

Particle system data.

Public Member Functions

__forceinline sVec3fGetPosition (tU32 anIndex) const
 
__forceinline sVec3fGetNextPosition (sVec3f *apCur) const
 
__forceinline sVec3fGetPositionB (tU32 anIndex) const
 
__forceinline sVec3fGetNextPositionB (sVec3f *apCur) const
 
__forceinline sVec4fGetSizeAge (tU32 anIndex) const
 
__forceinline sVec4fGetNextSizeAge (sVec4f *apCur) const
 
__forceinline sVec3fGetVelocity (tU32 anIndex) const
 
__forceinline sVec3fGetNextVelocity (sVec3f *apCur) const
 
__forceinline sVec3fGetVelocityB (tU32 anIndex) const
 
__forceinline sVec3fGetNextVelocityB (sVec3f *apCur) const
 
__forceinline sColor4fGetColor (tU32 anIndex) const
 
__forceinline sColor4fGetNextColor (sColor3f *apCur) const
 

Public Attributes

tPtr pPtr
 Pointer to the begining of the data (cast to tVertexParticleData* or sParticleData*) More...
 
tSize nStride
 
tSize nPosOffset
 
tSize nPosBOffset
 
tSize nSizeAgeOffset
 
tSize nVelOffset
 
tSize nVelBOffset
 
tSize nColorOffset
 

Member Function Documentation

__forceinline sVec3f* GetPosition ( tU32  anIndex) const
__forceinline sVec3f* GetNextPosition ( sVec3f apCur) const
__forceinline sVec3f* GetPositionB ( tU32  anIndex) const
__forceinline sVec3f* GetNextPositionB ( sVec3f apCur) const
__forceinline sVec4f* GetSizeAge ( tU32  anIndex) const
__forceinline sVec4f* GetNextSizeAge ( sVec4f apCur) const
__forceinline sVec3f* GetVelocity ( tU32  anIndex) const
__forceinline sVec3f* GetNextVelocity ( sVec3f apCur) const
__forceinline sVec3f* GetVelocityB ( tU32  anIndex) const
__forceinline sVec3f* GetNextVelocityB ( sVec3f apCur) const
__forceinline sColor4f* GetColor ( tU32  anIndex) const
__forceinline sColor4f* GetNextColor ( sColor3f apCur) const

Member Data Documentation

tPtr pPtr

Pointer to the begining of the data (cast to tVertexParticleData* or sParticleData*)

tSize nStride
tSize nPosOffset
tSize nPosBOffset
tSize nSizeAgeOffset
tSize nVelOffset
tSize nVelBOffset
tSize nColorOffset