#include <StdMesh.h>
Classes | |
| struct | Pass |
| struct | TexUnit |
Public Types | |
| enum | FaceOrdering { FO_Fixed , FO_FarthestToNearest , FO_NearestToFarthest } |
Public Member Functions | |
| StdSubMeshInstance (class StdMeshInstance &instance, const StdSubMesh &submesh, float completion) | |
| void | LoadFacesForCompletion (class StdMeshInstance &instance, const StdSubMesh &submesh, float completion) |
| void | CompileFunc (StdCompiler *pComp) |
| const StdMeshFace * | GetFaces () const |
| size_t | GetNumFaces () const |
| const StdSubMesh & | GetSubMesh () const |
| unsigned int | GetTexturePhase (size_t pass, size_t texunit) const |
| double | GetTexturePosition (size_t pass, size_t texunit) const |
| const StdMeshMaterial & | GetMaterial () const |
| FaceOrdering | GetFaceOrdering () const |
Protected Member Functions | |
| void | SetMaterial (const StdMeshMaterial &material) |
| void | SetFaceOrdering (class StdMeshInstance &instance, const StdSubMesh &submesh, FaceOrdering ordering) |
| void | SetFaceOrderingForClrModulation (class StdMeshInstance &instance, const StdSubMesh &submesh, uint32_t clrmod) |
Protected Attributes | |
| const StdSubMesh * | base |
| std::vector< StdMeshFace > | Faces |
| const StdMeshMaterial * | Material |
| std::vector< Pass > | PassData |
| FaceOrdering | CurrentFaceOrdering |
Friends | |
| class | StdMeshInstance |
| class | StdMeshMaterialUpdate |
| struct StdSubMeshInstance::Pass |
| struct StdSubMeshInstance::TexUnit |
| StdSubMeshInstance::StdSubMeshInstance | ( | class StdMeshInstance & | instance, |
| const StdSubMesh & | submesh, | ||
| float | completion | ||
| ) |
Definition at line 660 of file StdMesh.cpp.
References StdSubMesh::GetMaterial(), LoadFacesForCompletion(), and SetMaterial().
| void StdSubMeshInstance::CompileFunc | ( | StdCompiler * | pComp | ) |
Definition at line 755 of file StdMesh.cpp.
References StdCompiler::excCorrupt(), StdStrBuf::Format(), StdStrBuf::getData(), StdMeshMatManager::GetMaterial(), StdCompiler::isDeserializer(), Material, MeshMaterialManager, mkNamingAdapt(), StdMeshMaterial::Name, SetMaterial(), and StdCompiler::Value().
|
inline |
|
inline |
|
inline |
Definition at line 270 of file StdMesh.h.
References Material.
Referenced by StdMeshInstance::ExecuteAnimation().
|
inline |
|
inline |
Definition at line 265 of file StdMesh.h.
References base.
Referenced by StdMeshInstance::ReorderFaces().
|
inline |
|
inline |
| void StdSubMeshInstance::LoadFacesForCompletion | ( | class StdMeshInstance & | instance, |
| const StdSubMesh & | submesh, | ||
| float | completion | ||
| ) |
Definition at line 670 of file StdMesh.cpp.
References Faces, FO_FarthestToNearest, StdSubMesh::GetFace(), StdSubMesh::GetNumFaces(), StdSubMesh::GetNumVertices(), StdMeshInstance::GetSharedVertices(), StdSubMesh::GetVertices(), and StdMeshMatrix::Identity().
Referenced by SetFaceOrdering(), and StdSubMeshInstance().
|
protected |
Definition at line 727 of file StdMesh.cpp.
References CurrentFaceOrdering, FO_Fixed, StdMeshInstance::GetCompletion(), and LoadFacesForCompletion().
Referenced by SetFaceOrderingForClrModulation().
|
protected |
Definition at line 741 of file StdMesh.cpp.
References FO_FarthestToNearest, FO_Fixed, FO_NearestToFarthest, StdMeshMaterial::IsOpaque(), Material, and SetFaceOrdering().
|
protected |
Definition at line 698 of file StdMesh.cpp.
References StdMeshMaterial::BestTechniqueIndex, Material, PassData, StdMeshMaterialTechnique::Passes, StdSubMeshInstance::TexUnit::Phase, StdSubMeshInstance::TexUnit::PhaseDelay, StdSubMeshInstance::TexUnit::Position, StdMeshMaterial::Techniques, and StdMeshMaterialPass::TextureUnits.
Referenced by CompileFunc(), StdSubMeshInstance(), and StdMeshMaterialUpdate::Update().
|
friend |
|
friend |
|
protected |
Definition at line 278 of file StdMesh.h.
Referenced by GetSubMesh().
|
protected |
Definition at line 301 of file StdMesh.h.
Referenced by GetFaceOrdering(), StdMeshInstance::ReorderFaces(), and SetFaceOrdering().
|
protected |
Definition at line 280 of file StdMesh.h.
Referenced by GetFaces(), GetNumFaces(), LoadFacesForCompletion(), and StdMeshInstance::ReorderFaces().
|
protected |
Definition at line 282 of file StdMesh.h.
Referenced by CompileFunc(), GetMaterial(), SetFaceOrderingForClrModulation(), SetMaterial(), and StdMeshMaterialUpdate::Update().
|
protected |
Definition at line 300 of file StdMesh.h.
Referenced by StdMeshInstance::ExecuteAnimation(), GetTexturePhase(), GetTexturePosition(), and SetMaterial().