Enumeration of GPU resource access patterns.
enum
ResourceAccessPattern
Static
= 0
Static resource (CPU: none, GPU: read)
Remarks:
When a static resource is created, the whole content must be specified. After that, the resource remains immutable.
Dynamic
= 1
Dynamic resources (CPU: none, GPU: read/write)
Dynamic resources are usually placed in high-performance GPU memory.
Mappable
= 2
Mappable resources (CPU: write, GPU: read)
Dynamic resources are usually placed in shared CPU/GPU memory.