PFND3DWDDM2_0DDI_GETRESOURCELAYOUT callback function (d3d10umddi.h)

The pfnGetResourceLayout callback function supports getting resource layout information.

Syntax

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
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

hResource

A resource handle.

SubresourceCount

The subresource count.

unnamedParam4

Handle [out]

A kernel handle.

unnamedParam5

TextureLayout [out]

A pointer to a texture layout.

[out] pMipLevelSwizzleTransition

A pointer to a MIP level swizzle transition.

unnamedParam7

SubresourceLayout [out, optional]

A pointer to the subresource layout.

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header d3d10umddi.h (include D3d12umddi.h)