Gets the descriptor size in OWORDs for the specified descriptor heap type.
public:
UINT GetDescriptorSizeInOwordsFromHeapType(
D3D12_DESCRIPTOR_HEAP_TYPE DescriptorHeapType
)
DescriptorHeapType
Type: D3D12_DESCRIPTOR_HEAP_TYPE
The type of descriptor heap, as a D3D12_DESCRIPTOR_HEAP_TYPE, such as for a sampler, a render-target view, a depth-stencil view, or the combination of constant-buffer, shader-resource, and unordered-access views.
Type: UINT
The descriptor size in OWORDs for the specified descriptor heap type.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.