RavEngine
Loading...
Searching...
No Matches
physx::Gu::SourceMesh Class Reference
Inheritance diagram for physx::Gu::SourceMesh:
[legend]
Collaboration diagram for physx::Gu::SourceMesh:
[legend]

Public Member Functions

 SourceMesh (const PxEMPTY)
 
void reset ()
 
void operator= (SourceMesh &v)
 
PX_FORCE_INLINE PxU32 getNbTriangles () const
 
PX_FORCE_INLINE const IndTri32 * getTris32 () const
 
PX_FORCE_INLINE const IndTri16 * getTris16 () const
 
PX_FORCE_INLINE void setNbTriangles (PxU32 nb)
 
virtual PxU32 getNbPrimitives () const
 
virtual void remapTopology (const PxU32 *order)
 
virtual void getPrimitiveBox (const PxU32 primitiveInd, physx::aos::Vec4V &minV, physx::aos::Vec4V &maxV)
 
virtual void refit (const PxU32 primitiveInd, PxBounds3 &refitBox)
 
PX_FORCE_INLINE void setPointers (IndTri32 *tris32, IndTri16 *tris16, const PxVec3 *verts)
 
bool isValid () const
 
PX_FORCE_INLINE void getTriangle (VertexPointers &vp, PxU32 index) const
 
- Public Member Functions inherited from physx::Gu::SourceMeshBase
 SourceMeshBase (MeshType meshType)
 
 SourceMeshBase (const PxEMPTY)
 
PX_FORCE_INLINE PxU32 getNbVertices () const
 
PX_FORCE_INLINE const PxVec3 * getVerts () const
 
PX_FORCE_INLINE void setNbVertices (PxU32 nb)
 
PX_FORCE_INLINE void initRemap ()
 
PX_FORCE_INLINE const PxU32 * getRemap () const
 
PX_FORCE_INLINE void releaseRemap ()
 
PX_FORCE_INLINE MeshType getMeshType () const
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 

Static Public Member Functions

static void getBinaryMetaData (PxOutputStream &stream)
 
- Static Public Member Functions inherited from physx::Gu::SourceMeshBase
static void getBinaryMetaData (PxOutputStream &stream)
 

Public Attributes

PxU32 mNbTris
 
IndTri32 * mTriangles32
 
IndTri16 * mTriangles16
 
- Public Attributes inherited from physx::Gu::SourceMeshBase
PxU32 mNbVerts
 
const PxVec3 * mVerts
 

Additional Inherited Members

- Public Types inherited from physx::Gu::SourceMeshBase
enum  MeshType { TRI_MESH , TET_MESH , FORCE_DWORD = 0x7fffffff }
 
- Protected Attributes inherited from physx::Gu::SourceMeshBase
MeshType mType
 
PxU32 * mRemap
 

Member Function Documentation

◆ getNbPrimitives()

virtual PxU32 physx::Gu::SourceMesh::getNbPrimitives ( ) const
inlinevirtual

◆ getPrimitiveBox()

void SourceMesh::getPrimitiveBox ( const PxU32  primitiveInd,
physx::aos::Vec4V &  minV,
physx::aos::Vec4V &  maxV 
)
virtual

◆ refit()

void SourceMesh::refit ( const PxU32  primitiveInd,
PxBounds3 &  refitBox 
)
virtual

◆ remapTopology()

void SourceMesh::remapTopology ( const PxU32 *  order)
virtual

The documentation for this class was generated from the following files: