Describes the data location and layout of a single semantic. More...
#include <NxApexRenderBufferData.h>
Public Attributes | |
| const void * | data |
| Pointer to first semantic data element. | |
| physx::PxU32 | stride |
| Semantic stride, in bytes. | |
| void * | ident |
| Used for custom semantics only: value retrieved from NRP. | |
| NxRenderDataFormat::Enum | format |
| Format used for this semantic. | |
| NxRenderDataFormat::Enum | srcFormat |
| When this class is used for mesh authoring, this is the format of the source (user's) buffer. If different from 'format', and not NxRenderDataFormat::UNSPECIFIED, the data will be converted to from srcFormat to format (if a converter exists). If srcFormat = NxRenderDataFormat::UNSPECIFIED (default value), it is assumed that srcFormat = format. | |
| bool | serialize |
| Copy this buffer from the authoring asset to the asset. | |
Describes the data location and layout of a single semantic.
Copy this buffer from the authoring asset to the asset.
This will only be used at render mesh asset creation time.