nvidia::apex::UserRenderSurfaceBufferDesc Class Reference
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 |
Detailed Description
Describes the semantics and layout of a Surface buffer.
Member Data Documentation
| PxCudaContextManager* nvidia::apex::UserRenderSurfaceBufferDesc::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.