Public Member Functions | Public Attributes | Static Public Attributes
nvidia::apex::UserRenderSpriteBufferDesc Class Reference

describes the semantics and layout of a sprite buffer More...

#include <UserRenderSpriteBufferDesc.h>

List of all members.

Public Member Functions

void setDefaults ()
 Default values.
bool isValid (void) const
 Checks if data is correct.
bool isTheSameAs (const UserRenderSpriteBufferDesc &other) const
 Check if this object is the same as other.

Public Attributes

uint32_t maxSprites
 The maximum number of sprites that APEX will store in this buffer.
RenderBufferHint::Enum hint
 A hint about the update frequency of this buffer.
uint32_t semanticOffsets [RenderSpriteLayoutElement::NUM_SEMANTICS]
 Array of the corresponding offsets (in bytes) for each semantic.
uint32_t stride
 The stride between sprites of this buffer. Required when CUDA interop is used!
bool registerInCUDA
 Declare if the resource must be registered in CUDA upon creation.
PxCudaContextManager * interopContext
uint32_t textureCount
 the number of textures
UserRenderSpriteTextureDesc textureDescs [MAX_SPRITE_TEXTURES]
 an array of texture descriptors

Static Public Attributes

static const uint32_t MAX_SPRITE_TEXTURES = 4
 Max number of sprite textures.

Detailed Description

describes the semantics and layout of a sprite buffer


Member Data Documentation

This context must be used to register and unregister the resource every time the device is lost and recreated.


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

Generated on Sat Dec 1 2018 15:52:11

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