Describes the data location and layout of a single semantic. More...
#include <RenderBufferData.h>
Public Attributes | |
const void * | data |
Pointer to first semantic data element. | |
uint32_t | stride |
Semantic stride, in bytes. | |
void * | ident |
Used for custom semantics only: value retrieved from NRP. | |
RenderDataFormat::Enum | format |
Format used for this semantic. | |
RenderDataFormat::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 RenderDataFormat::UNSPECIFIED, the data will be converted to from srcFormat to format (if a converter exists). If srcFormat = RenderDataFormat::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.