nvidia::apex::UserRenderInstanceBufferDesc Class Reference
Describes the data and layout of an instance buffer. More...
#include <UserRenderInstanceBufferDesc.h>
Public Member Functions | |
void | setDefaults () |
Default values. | |
bool | isValid (void) const |
Check if parameter's values are correct. | |
bool | isTheSameAs (const UserRenderInstanceBufferDesc &other) const |
Check if this object is the same as other. | |
Public Attributes | |
uint32_t | maxInstances |
The maximum amount of instances this buffer will ever hold. | |
RenderBufferHint::Enum | hint |
Hint on how often this buffer is updated. | |
uint32_t | semanticOffsets [RenderInstanceLayoutElement::NUM_SEMANTICS] |
Array of the corresponding offsets (in bytes) for each semantic. | |
uint32_t | stride |
The stride between instances of this buffer. Required when CUDA interop is used! | |
bool | registerInCUDA |
Declare if the resource must be registered in CUDA upon creation. | |
PxCudaContextManager * | interopContext |
Detailed Description
Describes the data and layout of an instance buffer.
Member Data Documentation
PxCudaContextManager* nvidia::apex::UserRenderInstanceBufferDesc::interopContext |
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 Fri Dec 15 2017 13:58:41
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.