ID3D12Device::GetDescriptorSizeInOwordsFromHeapType Method

Gets the descriptor size in OWORDs for the specified descriptor heap type.

Syntax

public:
UINT GetDescriptorSizeInOwordsFromHeapType(
         D3D12_DESCRIPTOR_HEAP_TYPE DescriptorHeapType
)  

Parameters

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.

Return value

Type: UINT 

The descriptor size in OWORDs for the specified descriptor heap type.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

DeserializeGraphicsPipelineStateX

ID3D12Device Interface

ID3D12Device Members