![]() |
wisdom
|
C version:
C++ version:
Memory type for resource allocation.
D3D12_HEAP_TYPE for DirectX 12 implementation, and VkMemoryPropertyFlags for Vulkan implementation.Values:
WisMemoryTypeDefault = 0: Default memory type. Alias for WisMemoryTypeDeviceLocalWisMemoryTypeDeviceLocal = 0: Default memory type. Local device memory, most efficient for rendering.WisMemoryTypeUpload = 1: Upload memory type. Used for data that is uploaded to the GPU Local memory using copy operations.WisMemoryTypeReadback = 2: Readback memory type. Used for data that is read back from the GPU Local memory using copy operations.WisMemoryTypeGPUUpload = 3: GPU upload memory type. Used for data that is directly uploaded to the GPU Local memory using copy operations. Support of this memory must be queried.