BasicClouds
Engine/source/environment/basicClouds.h
Private Types
enum
_Anonymous_ { BasicCloudsMask = Parent::NextFreeMask NextFreeMask = Parent::NextFreeMask << 1 }
Parent
Protected Static Attributes
Protected Attributes
bool
mLayerEnabled [TEX_COUNT]
mTexDirection [TEX_COUNT]
mTexOffset [TEX_COUNT]
mTexture [TEX_COUNT]
GFXVertexBufferHandle< GFXVertexPT >
mVB [TEX_COUNT]
Public Functions
Called after any property of the object is changed in the world editor.
bool
onAdd()
Called when the object is added to the sim.
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Instructs this object to pack its state for transfer over the network.
prepRenderImage(SceneRenderState * state)
Called when the SceneManager is ready for the registration of render instances.
renderObject(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * mi)
unpackUpdate(NetConnection * conn, BitStream * stream)
Instructs this object to read state data previously packed with packUpdate.
Public Static Functions
Protected Functions
_initBuffer(F32 height, GFXVertexBufferHandle< GFXVertexPT > * vb, GFXPrimitiveBufferHandle * pb)
Detailed Description
Private Types
@73
Enumerator
- BasicCloudsMask = Parent::NextFreeMask
- NextFreeMask = Parent::NextFreeMask << 1
typedef SceneObject Parent
Protected Static Attributes
U32 smStrideMinusOne
U32 smTriangleCount
U32 smVertCount
U32 smVertStride
Protected Attributes
GFXShaderConstHandle * mDiffuseMapSC
F32 mHeight [TEX_COUNT]
bool mLayerEnabled [TEX_COUNT]
GFXShaderConstHandle * mModelViewProjSC
GFXPrimitiveBufferHandle mPB
GFXShaderRef mShader
GFXShaderConstBufferRef mShaderConsts
GFXStateBlockRef mStateblock
Point2F mTexDirection [TEX_COUNT]
GFXShaderConstHandle * mTexDirectionSC
String mTexName [TEX_COUNT]
Point2F mTexOffset [TEX_COUNT]
GFXShaderConstHandle * mTexOffsetSC
F32 mTexScale [TEX_COUNT]
GFXShaderConstHandle * mTexScaleSC
F32 mTexSpeed [TEX_COUNT]
GFXTexHandle mTexture [TEX_COUNT]
GFXShaderConstHandle * mTimeSC
GFXVertexBufferHandle< GFXVertexPT > mVB [TEX_COUNT]
Public Functions
BasicClouds()
~BasicClouds()
DECLARE_CONOBJECT(BasicClouds )
inspectPostApply()
Reimplemented from: SceneObject
onAdd()
Reimplemented from: SceneObject
onRemove()
Reimplemented from: SceneObject
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Reimplemented from: SceneObject
prepRenderImage(SceneRenderState * state)
Reimplemented from: SceneObject
renderObject(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * mi)
unpackUpdate(NetConnection * conn, BitStream * stream)
Reimplemented from: SceneObject
Public Static Functions
initPersistFields()
Protected Functions
_initBuffer(F32 height, GFXVertexBufferHandle< GFXVertexPT > * vb, GFXPrimitiveBufferHandle * pb)
_initBuffers()
_initTexture()