|
raSystem
1.0 bata
|
#include <raMeshFile.h>
Public Member Functions | |
| raSDKMesh (raDirectX *dx, LPCSTR modelFileName, LPCSTR effectFileName="raEffects\yEngine.fx", LPCSTR techniqueName="RenderScene") | |
| raSDKMesh (raDirectX *dx, LPCSTR modelFileName, raMaterial *pMaterial) | |
| virtual bool | CreateMesh () |
| virtual bool | DestroyMesh () |
| virtual bool | RenderMesh (LPCSTR techniqueName="") |
| virtual bool | Intersects (CONST raVector3 *pRayPos, CONST raVector3 *pRayDir, float *pDist) |
| const LPCSTR & | GetModelFileName () const |
| virtual ID3D11Buffer * | GetVertexBuffer () |
| virtual ID3D11Buffer * | GetIndexBuffer () |
| virtual UINT | GetStrideSize () |
| virtual D3D11_PRIMITIVE_TOPOLOGY | GetPrimitiveTopology (UINT n) |
| virtual DXGI_FORMAT | GetIndexBufferFormat () |
| virtual UINT | GetNumSubsets () |
| virtual SDKMESH_SUBSET * | GetSubset (UINT n) |
| virtual UINT | GetNumMaterials () |
| virtual raMaterial * | GetMaterial (UINT n) |
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 bool | Create () |
| virtual void | Destroy () |
| virtual void | CreateEffectVariables () |
| virtual void | DestroyEffectVariables () |
| 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="") |
| virtual void | CreateMaterials () |
| virtual void | DestroyMaterials () |
| bool | SetState () |
| bool | RestoreState () |
| virtual const D3D11_INPUT_ELEMENT_DESC * | GetVertexLayout () |
| virtual UINT | GetNumElements () |
| 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) |
| virtual bool | Intersects (const raVector3 *pRayPos, const raVector3 *pRayDir, float *pDist) |
Public Member Functions inherited from IRAMesh | |
| virtual | ~IRAMesh () |
Protected Attributes | |
| LPCSTR | m_ModelFileName |
| CDXUTSDKMesh | m_Mesh |
| bool | m_bExternalMaterial |
Protected Attributes inherited from raVisual | |
| UINT | m_DrawOder |
| DWORD | m_numMaterials |
| raMaterial ** | m_pMaterials |
| raSmartPointer< raDirectX > | m_dx |
| ID3D11InputLayout * | m_pVertexLayout |
| ID3D11BlendState * | m_pAlphaBlendState |
| ID3D11BlendState * | m_pOldAlphaBlendState |
| ID3D11DepthStencilState * | m_pDepthStencilState |
| ID3D11DepthStencilState * | m_pOldDepthStencilState |
| ID3D11RasterizerState * | m_pRasterState |
| ID3D11RasterizerState * | m_pOldRasterState |
| bool | m_bVisible |
| bool | m_bAlpha |
| bool | m_bAdditive |
| float | m_blendFactor [4] |
| UINT | m_sampleMask |
| bool | m_bDepthDisable |
| UINT | m_StencilRef |
| D3D11_FILL_MODE | m_FillMode |
| D3D11_CULL_MODE | m_CullMode |
| DWORD | m_numSubsets |
| SDKMESH_SUBSET * | m_pSubsets |
Protected Attributes inherited from raRender | |
| raSmartPointer< raDirectX > | m_dx |
| raMatrix | m_World |
| LPCSTR | m_Name |
Additional Inherited Members | |
Public Attributes inherited from raVisual | |
| raVector3 | m_bbMin |
| raVector3 | m_bbMax |
Static Public Attributes inherited from raVisual | |
| static raString | EffectfileName |
| static raString | TechniqueName |
| static raString | TexturedTechniqueName |
| static raString | SkinnedEffectfileName |
| static raString | SkinnedEffectfileName2 |
| static raString | SkinnedTechniqueName |
| static raString | SkinnedTexturedTechniqueName |
Protected Member Functions inherited from raVisual | |
| bool | CreateAlphaBlendState () |
| bool | CreateDepthStencilState () |
| bool | CreateRasterizerState () |
Definition at line 31 of file raMeshFile.h.
| raSystem::raSDKMesh::raSDKMesh | ( | raDirectX * | dx, |
| LPCSTR | modelFileName, | ||
| LPCSTR | effectFileName = "raEffects\\MyEngine.fx", |
||
| LPCSTR | techniqueName = "RenderScene" |
||
| ) |
Definition at line 111 of file raMeshFile.cpp.
| raSystem::raSDKMesh::raSDKMesh | ( | raDirectX * | dx, |
| LPCSTR | modelFileName, | ||
| raMaterial * | pMaterial | ||
| ) |
Definition at line 122 of file raMeshFile.cpp.
|
virtual |
Implements IRAMesh.
Definition at line 131 of file raMeshFile.cpp.
|
virtual |
Implements IRAMesh.
Definition at line 139 of file raMeshFile.cpp.
|
inlinevirtual |
Implements IRAMesh.
Definition at line 55 of file raMeshFile.h.
|
inlinevirtual |
Reimplemented from raVisual.
Definition at line 62 of file raMeshFile.h.
|
inlinevirtual |
Reimplemented from raVisual.
Definition at line 71 of file raMeshFile.h.
| const LPCSTR& raSystem::raSDKMesh::GetModelFileName | ( | ) | const |
|
inlinevirtual |
Reimplemented from raVisual.
Definition at line 70 of file raMeshFile.h.
|
inlinevirtual |
Implements IRAMesh.
Definition at line 67 of file raMeshFile.h.
|
inlinevirtual |
Implements IRAMesh.
Definition at line 57 of file raMeshFile.h.
|
inlinevirtual |
Reimplemented from raVisual.
Definition at line 56 of file raMeshFile.h.
|
inlinevirtual |
Implements IRAMesh.
Definition at line 68 of file raMeshFile.h.
|
inlinevirtual |
Implements IRAMesh.
Definition at line 54 of file raMeshFile.h.
|
virtual |
Definition at line 165 of file raMeshFile.cpp.
|
virtual |
Implements IRAMesh.
Definition at line 145 of file raMeshFile.cpp.
|
protected |
Definition at line 77 of file raMeshFile.h.
|
protected |
Definition at line 75 of file raMeshFile.h.
|
protected |
Definition at line 74 of file raMeshFile.h.