Describes the layout for sprite rendering. More...
#include <IofxRenderCallback.h>
Public Member Functions | |
| IofxSpriteRenderLayout (void) | |
| void | setDefaults () |
| Reset to default values. | |
| bool | isValid (void) const |
| Check if parameter's values are correct. | |
| bool | isTheSameAs (const IofxSpriteRenderLayout &other) const |
| Check if this object is the same as other. | |
Public Attributes | |
| UserRenderBufferDesc | bufferDesc |
| Render buffer desc. | |
| uint32_t | offsets [IofxSpriteRenderLayoutElement::MAX_COUNT] |
| Array of the corresponding offsets (in bytes) for each layout element. | |
| uint32_t | stride |
| The stride between objects in render buffer. | |
| uint32_t | surfaceCount |
| Number of render surfaces (if zero render buffer is used) | |
| IofxSpriteRenderLayoutSurfaceElement::Enum | surfaceElements [MAX_SURFACE_COUNT] |
| Layout element for each render surface (should be valid for all indices < surfaceCount) | |
| UserRenderSurfaceDesc | surfaceDescs [MAX_SURFACE_COUNT] |
| Description for each render surface (should be valid for all indices < surfaceCount) | |
Static Public Attributes | |
| static const uint32_t | MAX_SURFACE_COUNT = 4 |
| Max number of supported render surfaces. | |
Describes the layout for sprite rendering.
| nvidia::apex::IofxSpriteRenderLayout::IofxSpriteRenderLayout | ( | void | ) | [inline] |
| bool nvidia::apex::IofxSpriteRenderLayout::isTheSameAs | ( | const IofxSpriteRenderLayout & | other | ) | const [inline] |
Check if this object is the same as other.
| bool nvidia::apex::IofxSpriteRenderLayout::isValid | ( | void | ) | const [inline] |
Check if parameter's values are correct.
| void nvidia::apex::IofxSpriteRenderLayout::setDefaults | ( | ) | [inline] |
Reset to default values.
| UserRenderBufferDesc nvidia::apex::IofxSpriteRenderLayout::bufferDesc |
Render buffer desc.
const uint32_t nvidia::apex::IofxSpriteRenderLayout::MAX_SURFACE_COUNT = 4 [static] |
Max number of supported render surfaces.
| uint32_t nvidia::apex::IofxSpriteRenderLayout::offsets[IofxSpriteRenderLayoutElement::MAX_COUNT] |
Array of the corresponding offsets (in bytes) for each layout element.
The stride between objects in render buffer.
Number of render surfaces (if zero render buffer is used)
| UserRenderSurfaceDesc nvidia::apex::IofxSpriteRenderLayout::surfaceDescs[MAX_SURFACE_COUNT] |
Description for each render surface (should be valid for all indices < surfaceCount)
| IofxSpriteRenderLayoutSurfaceElement::Enum nvidia::apex::IofxSpriteRenderLayout::surfaceElements[MAX_SURFACE_COUNT] |
Layout element for each render surface (should be valid for all indices < surfaceCount)