// d3d12umddi.h
PFND3D12DDI_GET_DESCRIPTOR_SIZE_IN_BYTES Pfnd3d12ddiGetDescriptorSizeInBytes;
UINT Pfnd3d12ddiGetDescriptorSizeInBytes(
D3D12DDI_HDEVICE unnamedParam1,
D3D12DDI_DESCRIPTOR_HEAP_TYPE unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The PFND3D12DDI_GET_DESCRIPTOR_SIZE_IN_BYTES callback function gets the size of the handle, in bytes, for a given type of descriptor heap.
unnamedParam1A handle to the display device (graphics context).
unnamedParam2The D3D12DDI_DESCRIPTOR_HEAP_TYPE-typed value that specifies the type of descriptor heap to get the size of the handle increment for.
Returns UINT.
//Declaration
PFND3D12DDI_GET_DESCRIPTOR_SIZE_IN_BYTES Pfnd3d12ddiGetDescriptorSizeInBytes;
// Definition
UINT Pfnd3d12ddiGetDescriptorSizeInBytes
(
D3D12DDI_HDEVICE hDevice
D3D12DDI_DESCRIPTOR_HEAP_TYPE
)
{...}
PFND3D12DDI_GET_DESCRIPTOR_SIZE_IN_BYTES