mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-26 00:24:35 +00:00
Documentation of enum VmaMemoryUsage: Added DirectX 12 equivalents.
This commit is contained in:
parent
20e500e3d0
commit
1299c9ad79
@ -953,6 +953,7 @@ typedef enum VmaMemoryUsage
|
|||||||
/** Memory will be used on device only, so fast access from the device is preferred.
|
/** Memory will be used on device only, so fast access from the device is preferred.
|
||||||
It usually means device-local GPU (video) memory.
|
It usually means device-local GPU (video) memory.
|
||||||
No need to be mappable on host.
|
No need to be mappable on host.
|
||||||
|
It is roughly equivalent of D3D12_HEAP_TYPE_DEFAULT.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
@ -971,6 +972,7 @@ typedef enum VmaMemoryUsage
|
|||||||
Resources created in this pool are still accessible to the device, but access to them can be slower.
|
Resources created in this pool are still accessible to the device, but access to them can be slower.
|
||||||
Guarantees to be `HOST_VISIBLE` and `HOST_COHERENT`.
|
Guarantees to be `HOST_VISIBLE` and `HOST_COHERENT`.
|
||||||
CPU read may be uncached.
|
CPU read may be uncached.
|
||||||
|
It is roughly equivalent of D3D12_HEAP_TYPE_UPLOAD.
|
||||||
|
|
||||||
Usage: Staging copy of resources used as transfer source.
|
Usage: Staging copy of resources used as transfer source.
|
||||||
*/
|
*/
|
||||||
@ -983,6 +985,7 @@ typedef enum VmaMemoryUsage
|
|||||||
*/
|
*/
|
||||||
VMA_MEMORY_USAGE_CPU_TO_GPU = 3,
|
VMA_MEMORY_USAGE_CPU_TO_GPU = 3,
|
||||||
/** Memory mappable on host (guarantees to be `HOST_VISIBLE`) and cached.
|
/** Memory mappable on host (guarantees to be `HOST_VISIBLE`) and cached.
|
||||||
|
It is roughly equivalent of D3D12_HEAP_TYPE_READBACK.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user