Pvd
Collaboration diagram for Pvd:

Namespaces

 physx
 

Classes

struct  PxPvdInstrumentationFlag
 types of instrumentation that PVD can do. More...
 
class  PxPvd
 PxPvd is the top-level class for the PVD framework, and the main customer interface for PVD configuration.It is a singleton class, instantiated and owned by the application. More...
 
struct  PxPvdSceneFlag
 PVD scene Flags. They are disabled by default, and only works if PxPvdInstrumentationFlag::eDEBUG is set. More...
 
class  PxPvdSceneClient
 Special client for PxScene. It provides access to the PxPvdSceneFlag. It also provides simple user debug services that associated scene position such as immediate rendering and camera updates. More...
 
class  PxPvdTransport
 PxPvdTransport is an interface representing the data transport mechanism. This class defines all services associated with the transport: configuration, connection, reading, writing etc. It is owned by the application, and can be realized as a file or a socket (using one-line PxDefault<...> methods in PhysXExtensions) or in a custom implementation. This is a class that is intended for use by PVD, not by the application, the application entry points are PxPvd and PvdClient. More...
 

Typedefs

typedef PxFlags< PxPvdInstrumentationFlag::Enum, uint8_t > PxPvdInstrumentationFlags
 Bitfield that contains a set of raised flags defined in PxPvdInstrumentationFlag. More...
 
typedef PxFlags< PxPvdSceneFlag::Enum, PxU8 > PxPvdSceneFlags
 Bitfield that contains a set of raised flags defined in PxPvdSceneFlag. More...
 

Functions

PX_C_EXPORT PxPvd *PX_CALL_CONV PxCreatePvd (PxFoundation &foundation)
 Create a pvd instance. More...
 
PX_C_EXPORT PxPvdTransport *PX_CALL_CONV PxDefaultPvdSocketTransportCreate (const char *host, int port, unsigned int timeoutInMilliseconds)
 Create a default socket transport. More...
 
PX_C_EXPORT PxPvdTransport *PX_CALL_CONV PxDefaultPvdFileTransportCreate (const char *name)
 Create a default file transport. More...
 

Detailed Description

Typedef Documentation

◆ PxPvdInstrumentationFlags

Bitfield that contains a set of raised flags defined in PxPvdInstrumentationFlag.

See also
PxPvdInstrumentationFlag

◆ PxPvdSceneFlags

Bitfield that contains a set of raised flags defined in PxPvdSceneFlag.

See also
PxPvdSceneFlag

Function Documentation

◆ PxCreatePvd()

PX_C_EXPORT PxPvd* PX_CALL_CONV PxCreatePvd ( PxFoundation foundation)

Create a pvd instance.

Parameters
foundationis the foundation instance that stores the allocator and error callbacks.

◆ PxDefaultPvdFileTransportCreate()

PX_C_EXPORT PxPvdTransport* PX_CALL_CONV PxDefaultPvdFileTransportCreate ( const char *  name)

Create a default file transport.

Parameters
namefull path filename used save captured pvd data, or NULL for a fake/test file transport.

◆ PxDefaultPvdSocketTransportCreate()

PX_C_EXPORT PxPvdTransport* PX_CALL_CONV PxDefaultPvdSocketTransportCreate ( const char *  host,
int  port,
unsigned int  timeoutInMilliseconds 
)

Create a default socket transport.

Parameters
hosthost address of the pvd application.
portip port used for pvd, should same as the port setting in pvd application.
timeoutInMillisecondstimeout when connect to pvd host.