Panda3D
Static Public Member Functions | List of all members
PhysxMeshPool Class Reference

This class unifies all references to the same filename, so that multiple attempts to load the same mesh will return the same pointer. More...

#include "physxMeshPool.h"

Static Public Member Functions

static void list_contents ()
 
static void list_contents (std::ostream &out)
 
static PhysxClothMeshload_cloth_mesh (const Filename &filename)
 
static PhysxConvexMeshload_convex_mesh (const Filename &filename)
 
static PhysxSoftBodyMeshload_soft_body_mesh (const Filename &filename)
 
static PhysxTriangleMeshload_triangle_mesh (const Filename &filename)
 
static bool release_cloth_mesh (PhysxClothMesh *mesh)
 
static bool release_convex_mesh (PhysxConvexMesh *mesh)
 
static bool release_soft_body_mesh (PhysxSoftBodyMesh *mesh)
 
static bool release_triangle_mesh (PhysxTriangleMesh *mesh)
 

Detailed Description

This class unifies all references to the same filename, so that multiple attempts to load the same mesh will return the same pointer.

The mesh filename is automatically resolved before an attempt to load the mesh is made.

Definition at line 36 of file physxMeshPool.h.


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