Public Member Functions | Public Attributes | Static Public Attributes
nvidia::apex::IofxSpriteRenderLayout Struct Reference

Describes the layout for sprite rendering. More...

#include <IofxRenderCallback.h>

List of all members.

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.

Detailed Description

Describes the layout for sprite rendering.


Constructor & Destructor Documentation

nvidia::apex::IofxSpriteRenderLayout::IofxSpriteRenderLayout ( void  ) [inline]

Member Function Documentation

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.


Member Data Documentation

Render buffer desc.

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)

Description for each render surface (should be valid for all indices < surfaceCount)

Layout element for each render surface (should be valid for all indices < surfaceCount)


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

Generated on Tue Aug 1 2017 22:44:30

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