Describes the semantics and layout of a Surface buffer. More...
#include <UserRenderSurfaceBufferDesc.h>
Public Member Functions | |
void | setDefaults () |
Default values. | |
bool | isValid (void) const |
Checks if the surface buffer descriptor is valid. | |
Public Attributes | |
uint32_t | width |
The size of U-dimension. | |
uint32_t | height |
The size of V-dimension. | |
uint32_t | depth |
The size of W-dimension. | |
RenderDataFormat::Enum | format |
Data format of suface buffer. | |
bool | registerInCUDA |
Declare if the resource must be registered in CUDA upon creation. | |
PxCudaContextManager * | interopContext |
Describes the semantics and layout of a Surface buffer.
PxCudaContextManager* nvidia::apex::UserRenderSurfaceBufferDesc::interopContext |
This context must be used to register and unregister the resource every time the device is lost and recreated.