PX_PS4. More...
#include <UserRenderIndexBufferDesc.h>
Public Member Functions | |
bool | isValid (void) const |
Check if parameter's values are correct. | |
Public Attributes | |
uint32_t | maxIndices |
The maximum amount of indices this buffer will ever hold. | |
RenderBufferHint::Enum | hint |
Hint on how often this buffer is updated. | |
RenderDataFormat::Enum | format |
The format of this buffer (only one implied semantic) | |
RenderPrimitiveType::Enum | primitives |
Rendering primitive type (triangle, line strip, etc) | |
bool | registerInCUDA |
Declare if the resource must be registered in CUDA upon creation. | |
PxCudaContextManager * | interopContext |
The CUDA context. |
PX_PS4.
describes the semantics and layout of an index buffer
PxCudaContextManager* nvidia::apex::UserRenderIndexBufferDesc::interopContext |
The CUDA context.
This context must be used to register and unregister the resource every time the device is lost and recreated.