// d3d12umddi.h
PFND3D12DDI_CHECKEXISITINGRESOURCEALLOCATIONINFO_0022 Pfnd3d12ddiCheckexisitingresourceallocationinfo0022;
VOID Pfnd3d12ddiCheckexisitingresourceallocationinfo0022(
D3D12DDI_HDEVICE unnamedParam1,
D3D12DDI_HRESOURCE unnamedParam2,
D3D12DDI_RESOURCE_ALLOCATION_INFO_0022 *unnamedParam3
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnCheckExistingResourceAllocationInfo callback function supports checking existing resource allocation information.
unnamedParam1hDevice
A handle to the display device (graphics context).
unnamedParam2hResource
A resource handle.
unnamedParam3pInfo [out]
Information for resource allocation.
This callback function is part of a two step process of resource creation. After the pfnCheckResourceAllocationInfo callback function, the resource is created. During resource creation, the layout is never _UNDEFINED, since the driver will have returned a resolved texture layout.
pfnCheckResourceAllocationInfo