// d3d10umddi.h
PFND3DWDDM2_0DDI_GETRESOURCELAYOUT Pfnd3dwddm20DdiGetresourcelayout;
VOID Pfnd3dwddm20DdiGetresourcelayout(
D3D10DDI_HDEVICE unnamedParam1,
D3D10DDI_HRESOURCE unnamedParam2,
UINT SubresourceCount,
D3DKMT_HANDLE *unnamedParam4,
D3DWDDM2_0DDI_TEXTURE_LAYOUT *unnamedParam5,
[out] UINT *pMipLevelSwizzleTransition,
D3DWDDM2_0DDI_SUBRESOURCE_LAYOUT *unnamedParam7
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnGetResourceLayout callback function supports getting resource layout information.
unnamedParam1hDevice [in]
A handle to the display device (graphics context).
unnamedParam2hResource
A resource handle.
SubresourceCountThe subresource count.
unnamedParam4Handle [out]
A kernel handle.
unnamedParam5TextureLayout [out]
A pointer to a texture layout.
pMipLevelSwizzleTransition [out]A pointer to a MIP level swizzle transition.
unnamedParam7SubresourceLayout [out, optional]
A pointer to the subresource layout.