Describes the layout for mesh rendering. More...
#include <IofxRenderCallback.h>
Public Member Functions | |
IofxMeshRenderLayout (void) | |
void | setDefaults () |
Reset to default values. | |
bool | isValid (void) const |
Check if parameter's values are correct. | |
bool | isTheSameAs (const IofxMeshRenderLayout &other) const |
Check if this object is the same as other. | |
Public Attributes | |
UserRenderBufferDesc | bufferDesc |
Render buffer desc. | |
uint32_t | offsets [IofxMeshRenderLayoutElement::MAX_COUNT] |
Array of the corresponding offsets (in bytes) for each layout element. | |
uint32_t | stride |
The stride between objects in render buffer. |
Describes the layout for mesh rendering.
nvidia::apex::IofxMeshRenderLayout::IofxMeshRenderLayout | ( | void | ) | [inline] |
bool nvidia::apex::IofxMeshRenderLayout::isTheSameAs | ( | const IofxMeshRenderLayout & | other | ) | const [inline] |
Check if this object is the same as other.
bool nvidia::apex::IofxMeshRenderLayout::isValid | ( | void | ) | const [inline] |
Check if parameter's values are correct.
void nvidia::apex::IofxMeshRenderLayout::setDefaults | ( | ) | [inline] |
Reset to default values.
UserRenderBufferDesc nvidia::apex::IofxMeshRenderLayout::bufferDesc |
Render buffer desc.
uint32_t nvidia::apex::IofxMeshRenderLayout::offsets[IofxMeshRenderLayoutElement::MAX_COUNT] |
Array of the corresponding offsets (in bytes) for each layout element.
The stride between objects in render buffer.