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

Public Types

enum  MeshType { TRI_MESH , TET_MESH , FORCE_DWORD = 0x7fffffff }
 

Public Member Functions

 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
 
virtual PxU32 getNbPrimitives () const =0
 
virtual void remapTopology (const PxU32 *order)=0
 
virtual void getPrimitiveBox (const PxU32 primitiveInd, physx::aos::Vec4V &minV, physx::aos::Vec4V &maxV)=0
 
virtual void refit (const PxU32 primitiveInd, PxBounds3 &refitBox)=0
 
- 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)
 

Public Attributes

PxU32 mNbVerts
 
const PxVec3 * mVerts
 

Protected Attributes

MeshType mType
 
PxU32 * mRemap
 

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