Public Member Functions | Public Attributes | Static Public Attributes
physx::apex::NxUserRenderSpriteBufferDesc Class Reference

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

#include <NxUserRenderSpriteBufferDesc.h>

List of all members.

Public Member Functions

void setDefaults ()
 Default values.
bool isValid (void) const
 Checks if data is correct.

Public Attributes

physx::PxU32 maxSprites
 The maximum number of sprites that APEX will store in this buffer.
NxRenderBufferHint::Enum hint
 A hint about the update frequency of this buffer.
physx::PxU32 semanticOffsets [NxRenderSpriteLayoutElement::NUM_SEMANTICS]
 Array of the corresponding offsets (in bytes) for each semantic. Required when CUDA interop is used!
physx::PxU32 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.
physx::PxCudaContextManager * interopContext
physx::PxU32 textureCount
 the number of textures
NxUserRenderSpriteTextureDesc textureDescs [MAX_SPRITE_TEXTURES]
 an array of texture descriptors

Static Public Attributes

static const physx::PxU32 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 Mon Apr 28 2014 08:01:37

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