PhysX SDK 3.2 API Reference: PxFieldDescriptor Struct Reference

PhysX SDK 3.2 API

PxFieldDescriptor Struct Reference
[Common]

A field descriptor. More...

#include <PxFieldDescriptor.h>

List of all members.


Public Member Functions

PxU32 FieldSize () const
PX_FORCE_INLINE void * Address (void *class_ptr) const
PX_FORCE_INLINE void * GetArrayAddress (void *class_ptr) const
PX_FORCE_INLINE PxU32 IsStaticArray () const
PX_FORCE_INLINE PxU32 GetStaticArraySize () const
PX_FORCE_INLINE PxU32 IsDynamicArray () const
PX_FORCE_INLINE PxU32 GetDynamicArraySize (void *class_ptr) const

Public Attributes

PxField::Enum mType
 Field type (bool, byte, quaternion, etc).
const char * mName
 Field name (appears exactly as in the source file).
PxU32 mOffset
 Offset from the start of the class (ie from "this", field is located at "this"+Offset).
PxU32 mSize
 sizeof(Type)
PxU32 mCount
 Number of items of type Type (0 for dynamic sizes).
PxU32 mOffsetSize
 Offset of dynamic size param, for dynamic arrays.
PxU32 mFlags
 Field parameters.

Detailed Description

A field descriptor.

Member Function Documentation

PX_FORCE_INLINE void* PxFieldDescriptor::Address ( void *  class_ptr  )  const [inline]

PxU32 PxFieldDescriptor::FieldSize (  )  const

PX_FORCE_INLINE void* PxFieldDescriptor::GetArrayAddress ( void *  class_ptr  )  const [inline]

PX_FORCE_INLINE PxU32 PxFieldDescriptor::GetDynamicArraySize ( void *  class_ptr  )  const [inline]

PX_FORCE_INLINE PxU32 PxFieldDescriptor::GetStaticArraySize (  )  const [inline]

PX_FORCE_INLINE PxU32 PxFieldDescriptor::IsDynamicArray (  )  const [inline]

PX_FORCE_INLINE PxU32 PxFieldDescriptor::IsStaticArray (  )  const [inline]


Member Data Documentation

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

Field parameters.

Field name (appears exactly as in the source file).

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

Offset of dynamic size param, for dynamic arrays.

Field type (bool, byte, quaternion, etc).


The documentation for this struct was generated from the following file:



Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com