APEX Framework: nvidia::apex::IofxSpriteRenderLayout Struct Reference

NVIDIA APEX

nvidia::apex::IofxSpriteRenderLayout Struct Reference

Describes the layout for sprite rendering. More...

#include <IofxRenderCallback.h>

List of all members.

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.

Detailed Description

Describes the layout for sprite rendering.


The documentation for this struct was generated from the following file:

Generated on Fri Dec 15 2017 13:58:39

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.