InteriorSimpleMesh Class Reference#include <interiorSimpleMesh.h>
List of all members.
|
Public Member Functions |
| | InteriorSimpleMesh () |
| | ~InteriorSimpleMesh () |
| void | clear (bool wipeMaterials=true) |
| void | render (const MeshRenderInst ©inst, U32 interiorlmhandle, U32 instancelmhandle, InteriorInstance *intInst, InteriorLightPlugin *lightingplugin) |
| void | calculateBounds () |
| void | buildBuffers () |
| void | buildTangent (U32 i0, U32 i1, U32 i2, Vector< Point3F > &tang, Vector< Point3F > &binorm) |
| void | packPrimitive (primitive &primnew, const primitive &primold, Vector< U16 > &indicesnew, bool flipped, Vector< Point3F > &tang, Vector< Point3F > &binorm) |
| bool | prepForRendering (const char *path) |
| bool | containsPrimitiveType (bool translucent) |
| void | copyTo (InteriorSimpleMesh &dest) |
| bool | castPlanes (PlaneF left, PlaneF right, PlaneF top, PlaneF bottom) |
| bool | read (Stream &stream) |
| bool | write (Stream &stream) const |
Public Attributes |
| Vector< U16 > | packedIndices |
| Vector< primitive > | packedPrimitives |
| GFXVertexBufferHandle< GFXVertexPNTTB > | vertBuff |
| | tri-list instead of strips
|
| GFXPrimitiveBufferHandle | primBuff |
| bool | hasSolid |
| bool | hasTranslucency |
| Box3F | bounds |
| MatrixF | transform |
| Point3F | scale |
| Vector< primitive > | primitives |
| Vector< U16 > | indices |
| Vector< Point3F > | verts |
| Vector< Point3F > | norms |
| Vector< Point2F > | diffuseUVs |
| Vector< Point2F > | lightmapUVs |
| TSMaterialList * | materialList |
Static Private Attributes |
| static Vector< MeshRenderInst * > * | renderInstList |
Classes |
| class | primitive |
Constructor & Destructor Documentation
| InteriorSimpleMesh::InteriorSimpleMesh |
( |
|
) |
[inline] |
| InteriorSimpleMesh::~InteriorSimpleMesh |
( |
|
) |
[inline] |
Member Function Documentation
| void InteriorSimpleMesh::clear |
( |
bool |
wipeMaterials = true |
) |
[inline] |
| void InteriorSimpleMesh::calculateBounds |
( |
|
) |
[inline] |
| void InteriorSimpleMesh::buildBuffers |
( |
|
) |
|
| bool InteriorSimpleMesh::prepForRendering |
( |
const char * |
path |
) |
|
| bool InteriorSimpleMesh::containsPrimitiveType |
( |
bool |
translucent |
) |
[inline] |
| bool InteriorSimpleMesh::write |
( |
Stream & |
stream |
) |
const |
Member Data Documentation
tri-list instead of strips
|