aether::physx::physx_state Struct Reference

#include <physx.hh>

Public Member Functions

 physx_state (::physx::PxSceneDesc sceneDesc, bool debug=false)
 
void connect_to_pvd (const char *pvd_hostname, int port=5425, int timeout=10)
 Connects to the PhysX Visual Debugger at the specified target if constructed with debug = enabled. More...
 
 ~physx_state ()
 

Static Public Member Functions

::physx::PxFilterFlags BasicFilterShader (::physx::PxFilterObjectAttributes,::physx::PxFilterData,::physx::PxFilterObjectAttributes,::physx::PxFilterData,::physx::PxPairFlags &pairFlags, const void *,::physx::PxU32)
 
::physx::PxSceneDesc basic_scene (::physx::PxSimulationEventCallback *callbacks)
 

Public Attributes

::physx::PxFoundation * foundation = nullptr
 
::physx::PxPhysics * physics = nullptr
 
::physx::PxDefaultCpuDispatcher * dispatcher = nullptr
 
::physx::PxScene * scene = nullptr
 
::physx::PxControllerManager * controller_manager = nullptr
 
::physx::PxDefaultAllocator allocator
 
::physx::PxPvd * pvd = nullptr
 
error_callback errorcallback
 

Constructor & Destructor Documentation

aether::physx::physx_state::physx_state ( ::physx::PxSceneDesc  sceneDesc,
bool  debug = false 
)
inline
aether::physx::physx_state::~physx_state ( )
inline

Member Function Documentation

::physx::PxSceneDesc aether::physx::physx_state::basic_scene ( ::physx::PxSimulationEventCallback *  callbacks)
inlinestatic
::physx::PxFilterFlags aether::physx::physx_state::BasicFilterShader ( ::physx::PxFilterObjectAttributes  ,
::physx::PxFilterData  ,
::physx::PxFilterObjectAttributes  ,
::physx::PxFilterData  ,
::physx::PxPairFlags &  pairFlags,
const void *  ,
::physx::PxU32   
)
inlinestatic
void aether::physx::physx_state::connect_to_pvd ( const char *  pvd_hostname,
int  port = 5425,
int  timeout = 10 
)
inline

Connects to the PhysX Visual Debugger at the specified target if constructed with debug = enabled.

Member Data Documentation

::physx::PxDefaultAllocator aether::physx::physx_state::allocator
::physx::PxControllerManager* aether::physx::physx_state::controller_manager = nullptr
::physx::PxDefaultCpuDispatcher* aether::physx::physx_state::dispatcher = nullptr
error_callback aether::physx::physx_state::errorcallback
::physx::PxFoundation* aether::physx::physx_state::foundation = nullptr
::physx::PxPhysics* aether::physx::physx_state::physics = nullptr
::physx::PxPvd* aether::physx::physx_state::pvd = nullptr
::physx::PxScene* aether::physx::physx_state::scene = nullptr