PxMetaDataEntry

Defined in include/common/PxMetaData.h

struct PxMetaDataEntry

Struct to store meta data definitions.

Note: The individual fields have different meaning depending on the meta data entry configuration.

Public Members

const char *type

Field type (bool, byte, quaternion, etc)

const char *name

Field name (appears exactly as in the source file)

PxU32 offset

Offset from the start of the class (ie from “this”, field is located at “this”+Offset)

PxU32 size

sizeof(Type)

PxU32 count

Number of items of type Type (0 for dynamic sizes)

PxU32 offsetSize

Offset of dynamic size param, for dynamic arrays.

PxU32 flags

Field parameters.

PxU32 alignment

Explicit alignment.