Gets the size of the specified descriptor type such as resource, shader resource view, unordered access view, constant buffer view, vertex buffer view, or sampler state.
public:
UINT GetDescriptorSize(
D3D11X_DESCRIPTOR_TYPE Type
)
Type
Type: D3D11X_DESCRIPTOR_TYPE
[in] The descriptor type for which to get the size (such as resource, shader resource view, unordered access view, constant buffer view, vertex buffer view, or sampler state), as a D3D11X_DESCRIPTOR_TYPE enumeration constant.
Type: UINT
The size of the descriptor, in bytes.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.