|
raSystem
1.0 bata
|
#include <raTree.h>
Public Member Functions | |
| raTree (raSmartPointer< raDirectX > dx, LPCSTR barkTextureFile, LPCSTR leafTextureFile, int height, int nSlices=8, float r0=1.0f, raMatrix *pTransform=NULL) | |
| raTree (raSmartPointer< raDirectX > dx, raMaterial *barkMaterial, LPCSTR leafTextureFile, int height, int nSlices=8, float r0=1.0f, raMatrix *pTransform=NULL) | |
| virtual bool | Create () |
| virtual void | Destroy () |
| virtual void | SetupVertices () |
| virtual void | SetupIndices () |
| virtual void | SetupEffectVariables (const raMatrix &pView, const raMatrix &pProj, const raLight *pLight) |
| virtual bool | Render (UINT drawOrder, const raMatrix &pView, const raMatrix &pProj, const raLight *pLight, LPCSTR techniqueName="") |
Public Member Functions inherited from raEntity< VERTEXPOSITIONNORMALTEXTURED, true, UINT32 > | |
| raEntity (raSmartPointer< raDirectX >, raMaterial *pMaterial, bool bAlpha=false, bool bAdditive=false, UINT numMaterials=1) | |
| ~raEntity () | |
| virtual bool | CreateMesh () |
| virtual bool | DestroyMesh () |
| virtual bool | RenderMesh (LPCSTR techniqueName="") |
| virtual bool | Intersects (const raVector3 *pRayPos, const raVector3 *pRayDir, float *pDist) |
| virtual ID3D11Buffer * | GetVertexBuffer () |
| virtual ID3D11Buffer * | GetIndexBuffer () |
| virtual UINT | GetStrideSize () |
| virtual D3D11_PRIMITIVE_TOPOLOGY | GetPrimitiveTopology (UINT n) |
| virtual SDKMESH_SUBSET * | GetSubset (UINT n) |
| virtual UINT | GetNumSubsets () |
Public Member Functions inherited from raVisual | |
| raVisual (raSmartPointer< raDirectX > dx, bool bAlpha=false, bool bAdditive=false, bool bDepthDisable=false, D3D11_FILL_MODE fillMode=D3D11_FILL_SOLID, D3D11_CULL_MODE cullMode=D3D11_CULL_BACK) | |
| ~raVisual (void) | |
| virtual bool | CreateVertexLayout () |
| virtual void | CreateEffectVariables () |
| virtual void | DestroyEffectVariables () |
| virtual void | CreateMaterials () |
| virtual void | DestroyMaterials () |
| bool | SetState () |
| bool | RestoreState () |
| virtual UINT | GetNumMaterials () |
| virtual raMaterial * | GetMaterial (UINT n) |
| void | SetMaterial (UINT n, raMaterial *pMaterial) |
| void | SetMaterial_1 (UINT n, raMaterial *pMaterial) |
| void | SetTexture (UINT n, LPCSTR textureFileName) |
| void | SetTexture_1 (UINT n, LPCSTR textureFileName) |
| virtual void | SetVisible (bool bVisible) |
| virtual void | SetDrawOder (UINT Value) |
| virtual void | SetSelected (bool bSelected) |
| virtual const float | GetBoundingsphereRadius () |
Public Member Functions inherited from raRender | |
| raRender (raSmartPointer< raDirectX > dx, const raMatrix *mWorld=NULL, LPCSTR Name="Render") | |
| virtual | ~raRender (void) |
| virtual bool | Update (float fTime, float fRunTime) |
| LPCSTR | GetName () |
| void | SetName (LPCSTR Name) |
| virtual void | SetWorldMatrix (const raMatrix &value) |
| virtual raMatrix * | GetWorldMatrix (void) |
Public Member Functions inherited from IRAMesh | |
| virtual | ~IRAMesh () |
| raTree::raTree | ( | raSmartPointer< raDirectX > | dx, |
| LPCSTR | barkTextureFile, | ||
| LPCSTR | leafTextureFile, | ||
| int | height, | ||
| int | nSlices = 8, |
||
| float | r0 = 1.0f, |
||
| raMatrix * | pTransform = NULL |
||
| ) |
Definition at line 5 of file raTree.cpp.
| raTree::raTree | ( | raSmartPointer< raDirectX > | dx, |
| raMaterial * | barkMaterial, | ||
| LPCSTR | leafTextureFile, | ||
| int | height, | ||
| int | nSlices = 8, |
||
| float | r0 = 1.0f, |
||
| raMatrix * | pTransform = NULL |
||
| ) |
Definition at line 32 of file raTree.cpp.
|
virtual |
Reimplemented from raVisual.
Definition at line 56 of file raTree.cpp.
Reimplemented from raVisual.
Definition at line 72 of file raTree.cpp.
|
virtual |
Reimplemented from raVisual.
Definition at line 212 of file raTree.cpp.
|
virtual |
Reimplemented from raVisual.
Definition at line 205 of file raTree.cpp.
|
virtual |
Reimplemented from raEntity< VERTEXPOSITIONNORMALTEXTURED, true, UINT32 >.
Definition at line 174 of file raTree.cpp.
|
virtual |
Implements raEntity< VERTEXPOSITIONNORMALTEXTURED, true, UINT32 >.
Definition at line 78 of file raTree.cpp.