Kanzi Framework  3.9.0
Java API
GPUResourceMemoryType Enum Reference

Memory upload and RAM preservation strategy for GPU resources. More...

Public Member Functions

final int swigValue ()
 

Static Public Member Functions

static GPUResourceMemoryType swigToEnum (int swigValue)
 

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...
 

Detailed Description

Memory upload and RAM preservation strategy for GPU resources.

Member Data Documentation

◆ RamOnly

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.