Legacy version of enum "kanzi.GPUResource.MemoryType". More...
Public Member Functions | |
GPUResourceMemoryType (int value) | |
Constructs a GPUResourceMemoryType of an integer value. More... | |
GPUResourceMemoryType (GPUResourceMemoryType enum_) | |
Constructs a copy of a GPUResourceMemoryType object. More... | |
int | getValue () |
Returns the integer value of the enumeration constant. More... | |
final int | swigValue () |
Returns the integer value of the enumeration constant. More... | |
Static Public Member Functions | |
static GPUResourceMemoryType | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. More... | |
static GPUResourceMemoryType | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
GpuAndRam =(1) | |
Data will remain in memory after being uploaded to the GPU. | |
GpuOnly =(0) | |
Data will be uploaded to the GPU and destroyed locally (default). | |
RamOnly =(2) | |
Data will not be uploaded to GPU and will be sent from RAM whenever needed. More... | |
Legacy version of enum "kanzi.GPUResource.MemoryType".
Memory upload and RAM preservation strategy for GPU resources.
GPUResourceMemoryType | ( | int | value | ) |
Constructs a GPUResourceMemoryType of an integer value.
value | Integer value to convert to enumeration constant. |
Constructs a copy of a GPUResourceMemoryType object.
enum_ | GPUResourceMemoryType to be copy constructed. |
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
final int swigValue | ( | ) |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |
RamOnly =(2) |
Data will not be uploaded to GPU and will be sent from RAM whenever needed.
NOTE: This is not always possible, in which case the behavior equals GpuAndRam.