PFND3DWDDM2_0DDI_GETRESOURCELAYOUT callback function

The pfnGetResourceLayout callback function supports getting resource layout information.

Syntax

PFND3DWDDM2_0DDI_GETRESOURCELAYOUT Pfnd3dwddm20DdiGetresourcelayout;

void Pfnd3dwddm20DdiGetresourcelayout(
  D3D10DDI_HDEVICE Arg1,
  D3D10DDI_HRESOURCE Arg2,
  UINT SubresourceCount,
  D3DKMT_HANDLE *Arg4,
  D3DWDDM2_0DDI_TEXTURE_LAYOUT *Arg5,
  UINT *pMipLevelSwizzleTransition,
  D3DWDDM2_0DDI_SUBRESOURCE_LAYOUT *Arg7
)
{...}

Parameters

Arg1

hDevice [in]

A handle to the display device (graphics context).

Arg2

hResource

A resource handle.

SubresourceCount

The subresource count.

Arg4

Handle [out]

A kernel handle.

Arg5

TextureLayout [out]

A pointer to a texture layout.

pMipLevelSwizzleTransition

A pointer to a MIP level swizzle transition.

Arg7

SubresourceLayout [out, optional]

A pointer to the subresource layout.

Return Value

This callback function does not return a value.

Requirements

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