Describes the layout for sprite rendering. More...
#include <IofxRenderCallback.h>
Public Member Functions | |
| 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.