wisdom
Loading...
Searching...
No Matches
WisDescriptorMemoryType Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
WisDescriptorMemoryTypeCpuOnly = 0,
WisDescriptorMemoryTypeShaderVisible = 1,

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
enum class DescriptorMemoryType {
CpuOnly = 0,
ShaderVisible = 1,
};
}

Description


Descriptor memory type. Decides if descriptors are visible and can be bound to GPU.

Note
Translates to D3D12_DESCRIPTOR_HEAP_FLAGS for DirectX 12 implementation.

Values:

  • WisDescriptorMemoryTypeCpuOnly = 0: Descriptors are only visible to CPU. May be used for copying descriptors to the GPU visible pool.
  • WisDescriptorMemoryTypeShaderVisible = 1: Descriptors are visible to GPU. Descriptors can be bound to the GPU pipeline directly, but can't be copied from.

See Also


See also
Structs: WisDescriptorHeapDesc