|
raSystem
1.0 bata
|
#include <raSDKmesh.h>
Public Member Functions | |
| void | RenderMesh (UINT iMesh, bool bAdjacent, UINT iDiffuseSlot, UINT iNormalSlot, UINT iSpecularSlot) |
| CDXUTSDKMesh () | |
| virtual | ~CDXUTSDKMesh () |
| virtual HRESULT | Create (raDirectX *pDev11, LPCTSTR szFileName, bool bCreateAdjacencyIndices=false, SDKMESH_CALLBACKS11 *pLoaderCallbacks=NULL) |
| virtual HRESULT | Create (raDirectX *pDev11, BYTE *pData, UINT DataBytes, bool bCreateAdjacencyIndices=false, bool bCopyStatic=false, SDKMESH_CALLBACKS11 *pLoaderCallbacks=NULL) |
| virtual HRESULT | LoadAnimation (raString szFileName) |
| virtual void | Destroy () |
| void | TransformBindPose (D3DXMATRIX *pWorld) |
| void | TransformMesh (D3DXMATRIX *pWorld, double fTime) |
| virtual void | Render (UINT iDiffuseSlot=INVALID_SAMPLER_SLOT, UINT iNormalSlot=INVALID_SAMPLER_SLOT, UINT iSpecularSlot=INVALID_SAMPLER_SLOT) |
| virtual void | RenderAdjacent (UINT iDiffuseSlot=INVALID_SAMPLER_SLOT, UINT iNormalSlot=INVALID_SAMPLER_SLOT, UINT iSpecularSlot=INVALID_SAMPLER_SLOT) |
| DXGI_FORMAT | GetIBFormat11 (UINT iMesh) |
| ID3D11Buffer * | GetVB11 (UINT iMesh, UINT iVB) |
| ID3D11Buffer * | GetIB11 (UINT iMesh) |
| SDKMESH_INDEX_TYPE | GetIndexType (UINT iMesh) |
| ID3D11Buffer * | GetAdjIB11 (UINT iMesh) |
| raString | GetMeshPathA () |
| UINT | GetNumMeshes () |
| UINT | GetNumMaterials () |
| UINT | GetNumVBs () |
| UINT | GetNumIBs () |
| ID3D11Buffer * | GetVB11At (UINT iVB) |
| ID3D11Buffer * | GetIB11At (UINT iIB) |
| BYTE * | GetRawVerticesAt (UINT iVB) |
| BYTE * | GetRawIndicesAt (UINT iIB) |
| SDKMESH_MATERIAL * | GetMaterial (UINT iMaterial) |
| SDKMESH_MESH * | GetMesh (UINT iMesh) |
| UINT | GetNumSubsets (UINT iMesh) |
| SDKMESH_SUBSET * | GetSubset (UINT iMesh, UINT iSubset) |
| UINT | GetVertexStride (UINT iMesh, UINT iVB) |
| UINT | GetNumFrames () |
| SDKMESH_FRAME * | GetFrame (UINT iFrame) |
| SDKMESH_FRAME * | FindFrame (raString pszName) |
| UINT64 | GetNumVertices (UINT iMesh, UINT iVB) |
| UINT64 | GetNumIndices (UINT iMesh) |
| D3DXVECTOR3 | GetMeshBBoxCenter (UINT iMesh) |
| D3DXVECTOR3 | GetMeshBBoxExtents (UINT iMesh) |
| UINT | GetOutstandingResources () |
| UINT | GetOutstandingBufferResources () |
| bool | CheckLoadDone () |
| bool | IsLoaded () |
| bool | IsLoading () |
| void | SetLoading (bool bLoading) |
| BOOL | HadLoadingError () |
| UINT | GetNumInfluences (UINT iMesh) |
| const D3DXMATRIX * | GetMeshInfluenceMatrix (UINT iMesh, UINT iInfluence) |
| UINT | GetAnimationKeyFromTime (double fTime) |
| const D3DXMATRIX * | GetWorldMatrix (UINT iFrameIndex) |
| const D3DXMATRIX * | GetInfluenceMatrix (UINT iFrameIndex) |
| bool | GetAnimationProperties (UINT *pNumKeys, FLOAT *pFrameTime) |
Static Public Member Functions | |
| static D3D11_PRIMITIVE_TOPOLOGY | GetPrimitiveType11 (SDKMESH_PRIMITIVE_TYPE PrimType) |
Protected Member Functions | |
| void | LoadMaterials (raDirectX *pd3dDevice, SDKMESH_MATERIAL *pMaterials, UINT NumMaterials, SDKMESH_CALLBACKS11 *pLoaderCallbacks=NULL) |
| HRESULT | CreateVertexBuffer (raDirectX *pd3dDevice, SDKMESH_VERTEX_BUFFER_HEADER *pHeader, void *pVertices, SDKMESH_CALLBACKS11 *pLoaderCallbacks=NULL) |
| HRESULT | CreateIndexBuffer (raDirectX *pd3dDevice, SDKMESH_INDEX_BUFFER_HEADER *pHeader, void *pIndices, SDKMESH_CALLBACKS11 *pLoaderCallbacks=NULL) |
| virtual HRESULT | CreateFromFile (raDirectX *pDev11, LPCTSTR szFileName, bool bCreateAdjacencyIndices, SDKMESH_CALLBACKS11 *pLoaderCallbacks11=NULL) |
| virtual HRESULT | CreateFromMemory (raDirectX *pDev11, BYTE *pData, UINT DataBytes, bool bCreateAdjacencyIndices, bool bCopyStatic, SDKMESH_CALLBACKS11 *pLoaderCallbacks11=NULL) |
| void | TransformBindPoseFrame (UINT iFrame, D3DXMATRIX *pParentWorld) |
| void | TransformFrame (UINT iFrame, D3DXMATRIX *pParentWorld, double fTime) |
| void | TransformFrameAbsolute (UINT iFrame, double fTime) |
| void | RenderFrame (UINT iFrame, bool bAdjacent, UINT iDiffuseSlot, UINT iNormalSlot, UINT iSpecularSlot) |
Protected Attributes | |
| BYTE * | m_pStaticMeshData |
| BYTE * | m_pHeapData |
| BYTE * | m_pAnimationData |
| BYTE ** | m_ppVertices |
| BYTE ** | m_ppIndices |
| char | m_strPathW [MAX_PATH] |
| char | m_strPath [MAX_PATH] |
| SDKMESH_HEADER * | m_pMeshHeader |
| SDKMESH_VERTEX_BUFFER_HEADER * | m_pVertexBufferArray |
| SDKMESH_INDEX_BUFFER_HEADER * | m_pIndexBufferArray |
| SDKMESH_MESH * | m_pMeshArray |
| SDKMESH_SUBSET * | m_pSubsetArray |
| SDKMESH_FRAME * | m_pFrameArray |
| SDKMESH_MATERIAL * | m_pMaterialArray |
| SDKMESH_INDEX_BUFFER_HEADER * | m_pAdjacencyIndexBufferArray |
| SDKANIMATION_FILE_HEADER * | m_pAnimationHeader |
| SDKANIMATION_FRAME_DATA * | m_pAnimationFrameData |
| D3DXMATRIX * | m_pBindPoseFrameMatrices |
| D3DXMATRIX * | m_pTransformedFrameMatrices |
| D3DXMATRIX * | m_pWorldPoseFrameMatrices |
Definition at line 249 of file raSDKmesh.h.
| CDXUTSDKMesh::CDXUTSDKMesh | ( | ) |
Definition at line 616 of file raSDKmesh.cpp.
|
virtual |
Definition at line 636 of file raSDKmesh.cpp.
| bool CDXUTSDKMesh::CheckLoadDone | ( | ) |
Definition at line 1070 of file raSDKmesh.cpp.
|
virtual |
Definition at line 640 of file raSDKmesh.cpp.
|
virtual |
Definition at line 645 of file raSDKmesh.cpp.
|
protectedvirtual |
Definition at line 132 of file raSDKmesh.cpp.
|
protectedvirtual |
Definition at line 180 of file raSDKmesh.cpp.
|
protected |
Definition at line 105 of file raSDKmesh.cpp.
|
protected |
Definition at line 76 of file raSDKmesh.cpp.
Definition at line 709 of file raSDKmesh.cpp.
| SDKMESH_FRAME * CDXUTSDKMesh::FindFrame | ( | raString | pszName | ) |
Definition at line 998 of file raSDKmesh.cpp.
| ID3D11Buffer * CDXUTSDKMesh::GetAdjIB11 | ( | UINT | iMesh | ) |
Definition at line 890 of file raSDKmesh.cpp.
| UINT CDXUTSDKMesh::GetAnimationKeyFromTime | ( | double | fTime | ) |
Definition at line 1134 of file raSDKmesh.cpp.
| bool CDXUTSDKMesh::GetAnimationProperties | ( | UINT * | pNumKeys, |
| FLOAT * | pFrameTime | ||
| ) |
Definition at line 1149 of file raSDKmesh.cpp.
| SDKMESH_FRAME * CDXUTSDKMesh::GetFrame | ( | UINT | iFrame | ) |
Definition at line 991 of file raSDKmesh.cpp.
| ID3D11Buffer * CDXUTSDKMesh::GetIB11 | ( | UINT | iMesh | ) |
Definition at line 881 of file raSDKmesh.cpp.
| ID3D11Buffer * CDXUTSDKMesh::GetIB11At | ( | UINT | iIB | ) |
Definition at line 939 of file raSDKmesh.cpp.
| DXGI_FORMAT CDXUTSDKMesh::GetIBFormat11 | ( | UINT | iMesh | ) |
Definition at line 862 of file raSDKmesh.cpp.
| SDKMESH_INDEX_TYPE CDXUTSDKMesh::GetIndexType | ( | UINT | iMesh | ) |
Definition at line 885 of file raSDKmesh.cpp.
| const D3DXMATRIX * CDXUTSDKMesh::GetInfluenceMatrix | ( | UINT | iFrameIndex | ) |
Definition at line 1128 of file raSDKmesh.cpp.
| SDKMESH_MATERIAL * CDXUTSDKMesh::GetMaterial | ( | UINT | iMaterial | ) |
Definition at line 955 of file raSDKmesh.cpp.
| SDKMESH_MESH * CDXUTSDKMesh::GetMesh | ( | UINT | iMesh | ) |
Definition at line 961 of file raSDKmesh.cpp.
| D3DXVECTOR3 CDXUTSDKMesh::GetMeshBBoxCenter | ( | UINT | iMesh | ) |
Definition at line 1023 of file raSDKmesh.cpp.
| D3DXVECTOR3 CDXUTSDKMesh::GetMeshBBoxExtents | ( | UINT | iMesh | ) |
Definition at line 1029 of file raSDKmesh.cpp.
| const D3DXMATRIX * CDXUTSDKMesh::GetMeshInfluenceMatrix | ( | UINT | iMesh, |
| UINT | iInfluence | ||
| ) |
Definition at line 1117 of file raSDKmesh.cpp.
| raString CDXUTSDKMesh::GetMeshPathA | ( | ) |
Definition at line 894 of file raSDKmesh.cpp.
| UINT CDXUTSDKMesh::GetNumFrames | ( | ) |
Definition at line 985 of file raSDKmesh.cpp.
| UINT CDXUTSDKMesh::GetNumIBs | ( | ) |
Definition at line 925 of file raSDKmesh.cpp.
| UINT64 CDXUTSDKMesh::GetNumIndices | ( | UINT | iMesh | ) |
Definition at line 1017 of file raSDKmesh.cpp.
| UINT CDXUTSDKMesh::GetNumInfluences | ( | UINT | iMesh | ) |
Definition at line 1111 of file raSDKmesh.cpp.
| UINT CDXUTSDKMesh::GetNumMaterials | ( | ) |
Definition at line 909 of file raSDKmesh.cpp.
| UINT CDXUTSDKMesh::GetNumMeshes | ( | ) |
Definition at line 901 of file raSDKmesh.cpp.
| UINT CDXUTSDKMesh::GetNumSubsets | ( | UINT | iMesh | ) |
Definition at line 967 of file raSDKmesh.cpp.
| UINT CDXUTSDKMesh::GetNumVBs | ( | ) |
Definition at line 917 of file raSDKmesh.cpp.
| UINT64 CDXUTSDKMesh::GetNumVertices | ( | UINT | iMesh, |
| UINT | iVB | ||
| ) |
Definition at line 1011 of file raSDKmesh.cpp.
| UINT CDXUTSDKMesh::GetOutstandingBufferResources | ( | ) |
Definition at line 1161 of file raSDKmesh.cpp.
| UINT CDXUTSDKMesh::GetOutstandingResources | ( | ) |
Definition at line 1035 of file raSDKmesh.cpp.
|
static |
Definition at line 823 of file raSDKmesh.cpp.
| BYTE * CDXUTSDKMesh::GetRawIndicesAt | ( | UINT | iIB | ) |
Definition at line 949 of file raSDKmesh.cpp.
| BYTE * CDXUTSDKMesh::GetRawVerticesAt | ( | UINT | iVB | ) |
Definition at line 943 of file raSDKmesh.cpp.
| SDKMESH_SUBSET * CDXUTSDKMesh::GetSubset | ( | UINT | iMesh, |
| UINT | iSubset | ||
| ) |
Definition at line 973 of file raSDKmesh.cpp.
| ID3D11Buffer * CDXUTSDKMesh::GetVB11 | ( | UINT | iMesh, |
| UINT | iVB | ||
| ) |
Definition at line 875 of file raSDKmesh.cpp.
| ID3D11Buffer * CDXUTSDKMesh::GetVB11At | ( | UINT | iVB | ) |
Definition at line 933 of file raSDKmesh.cpp.
| UINT CDXUTSDKMesh::GetVertexStride | ( | UINT | iMesh, |
| UINT | iVB | ||
| ) |
Definition at line 979 of file raSDKmesh.cpp.
| const D3DXMATRIX * CDXUTSDKMesh::GetWorldMatrix | ( | UINT | iFrameIndex | ) |
Definition at line 1123 of file raSDKmesh.cpp.
| BOOL CDXUTSDKMesh::HadLoadingError | ( | ) |
Definition at line 1105 of file raSDKmesh.cpp.
| bool CDXUTSDKMesh::IsLoaded | ( | ) |
Definition at line 1082 of file raSDKmesh.cpp.
| bool CDXUTSDKMesh::IsLoading | ( | ) |
Definition at line 1093 of file raSDKmesh.cpp.
|
virtual |
Definition at line 651 of file raSDKmesh.cpp.
|
protected |
Definition at line 5 of file raSDKmesh.cpp.
|
virtual |
Definition at line 809 of file raSDKmesh.cpp.
|
virtual |
Definition at line 817 of file raSDKmesh.cpp.
|
protected |
Definition at line 588 of file raSDKmesh.cpp.
| void CDXUTSDKMesh::RenderMesh | ( | UINT | iMesh, |
| bool | bAdjacent, | ||
| UINT | iDiffuseSlot, | ||
| UINT | iNormalSlot, | ||
| UINT | iSpecularSlot | ||
| ) |
Definition at line 490 of file raSDKmesh.cpp.
| void CDXUTSDKMesh::SetLoading | ( | bool | bLoading | ) |
Definition at line 1099 of file raSDKmesh.cpp.
| void CDXUTSDKMesh::TransformBindPose | ( | D3DXMATRIX * | pWorld | ) |
Definition at line 776 of file raSDKmesh.cpp.
|
protected |
Definition at line 368 of file raSDKmesh.cpp.
|
protected |
Definition at line 390 of file raSDKmesh.cpp.
|
protected |
Definition at line 441 of file raSDKmesh.cpp.
| void CDXUTSDKMesh::TransformMesh | ( | D3DXMATRIX * | pWorld, |
| double | fTime | ||
| ) |
Definition at line 784 of file raSDKmesh.cpp.
|
protected |
Definition at line 281 of file raSDKmesh.h.
|
protected |
Definition at line 263 of file raSDKmesh.h.
|
protected |
Definition at line 285 of file raSDKmesh.h.
|
protected |
Definition at line 284 of file raSDKmesh.h.
|
protected |
Definition at line 286 of file raSDKmesh.h.
|
protected |
Definition at line 277 of file raSDKmesh.h.
|
protected |
Definition at line 262 of file raSDKmesh.h.
|
protected |
Definition at line 274 of file raSDKmesh.h.
|
protected |
Definition at line 278 of file raSDKmesh.h.
|
protected |
Definition at line 275 of file raSDKmesh.h.
|
protected |
Definition at line 272 of file raSDKmesh.h.
|
protected |
Definition at line 265 of file raSDKmesh.h.
|
protected |
Definition at line 264 of file raSDKmesh.h.
|
protected |
Definition at line 261 of file raSDKmesh.h.
|
protected |
Definition at line 276 of file raSDKmesh.h.
|
protected |
Definition at line 287 of file raSDKmesh.h.
|
protected |
Definition at line 273 of file raSDKmesh.h.
|
protected |
Definition at line 288 of file raSDKmesh.h.
|
protected |
Definition at line 269 of file raSDKmesh.h.
|
protected |
Definition at line 268 of file raSDKmesh.h.