UID | title | description | old-location | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | tech.root | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3d12umddi.PFND3D12DDI_CHECKRESOURCEALLOCATIONINFO_0022 |
PFND3D12DDI_CHECKRESOURCEALLOCATIONINFO_0022 (d3d12umddi.h) |
The PFND3D12DDI_CHECKRESOURCEALLOCATIONINFO_0022 callback function checks resource allocation information. |
display\pfnd3d12ddi_checkresourceallocationinfo_0022.htm |
05/10/2018 |
|
PFND3D12DDI_CHECKRESOURCEALLOCATIONINFO_0022, PFND3D12DDI_CHECKRESOURCEALLOCATIONINFO_0022 callback, d3d12umddi/pfnCheckResourceAllocationInfo, display.pfnd3d12ddi_checkresourceallocationinfo_0022, pfnCheckResourceAllocationInfo, pfnCheckResourceAllocationInfo callback function [Display Devices] |
d3d12umddi.h |
D3d12umddi.h |
Windows |
Windows |
display |
|
|
|
|
|
The pfnCheckResourceAllocationInfo callback function supports checking resource allocation information.
hDevice
A handle to the display device (graphics context).
CreateResource [in]
A pointer to a create resource.
ResourceOptimizationFlags
Resource optimization flags.
An alignment restriction value.
A visible node mask.
pInfo [out]
Information for resource allocation.
This callback function is part of a two step process of resource creation. This function determines the sizes and alignments of the resource data, additional data header, and additional data is determined, along with the texture layout. When the resource description is passed into this function, the layout of the resource description may be set to _UNDEFINED. This allows the driver to choose any texture layout. When the layout of the resource description is STANDARD_SWIZZLE or ROW_MAJOR, the driver must return out the corresponding value as its choice.
This callback function is accessed by using the D3D12DDI_DEVICE_FUNCS_CORE_0010 structure.