InteriorSimpleMesh Class Reference

#include <interiorSimpleMesh.h>

List of all members.

Public Member Functions

 InteriorSimpleMesh ()
 ~InteriorSimpleMesh ()
void clear (bool wipeMaterials=true)
void render (const MeshRenderInst &copyinst, 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< U16packedIndices
Vector< primitivepackedPrimitives
GFXVertexBufferHandle< GFXVertexPNTTB > vertBuff
 tri-list instead of strips
GFXPrimitiveBufferHandle primBuff
bool hasSolid
bool hasTranslucency
Box3F bounds
MatrixF transform
Point3F scale
Vector< primitiveprimitives
Vector< U16indices
Vector< Point3Fverts
Vector< Point3Fnorms
Vector< Point2FdiffuseUVs
Vector< Point2FlightmapUVs
TSMaterialListmaterialList

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::render ( const MeshRenderInst copyinst,
U32  interiorlmhandle,
U32  instancelmhandle,
InteriorInstance intInst,
InteriorLightPlugin lightingplugin 
)

void InteriorSimpleMesh::calculateBounds (  )  [inline]

void InteriorSimpleMesh::buildBuffers (  ) 

void InteriorSimpleMesh::buildTangent ( U32  i0,
U32  i1,
U32  i2,
Vector< Point3F > &  tang,
Vector< Point3F > &  binorm 
)

void InteriorSimpleMesh::packPrimitive ( primitive primnew,
const primitive primold,
Vector< U16 > &  indicesnew,
bool  flipped,
Vector< Point3F > &  tang,
Vector< Point3F > &  binorm 
)

bool InteriorSimpleMesh::prepForRendering ( const char *  path  ) 

bool InteriorSimpleMesh::containsPrimitiveType ( bool  translucent  )  [inline]

void InteriorSimpleMesh::copyTo ( InteriorSimpleMesh dest  )  [inline]

bool InteriorSimpleMesh::castPlanes ( PlaneF  left,
PlaneF  right,
PlaneF  top,
PlaneF  bottom 
)

bool InteriorSimpleMesh::read ( Stream stream  ) 

bool InteriorSimpleMesh::write ( Stream stream  )  const


Member Data Documentation

tri-list instead of strips