Bewerken

Delen via


PFND3DWDDM2_0DDI_CALCPRIVATEUNORDEREDACCESSVIEWSIZE callback function (d3d10umddi.h)

The CalcPrivateUnorderedAccessViewSize function determines the size of the user-mode display driver's private region of memory (that is, the size of internal driver structures, not the size of the resource video memory) for an unordered access view.

Syntax

PFND3DWDDM2_0DDI_CALCPRIVATEUNORDEREDACCESSVIEWSIZE Pfnd3dwddm20DdiCalcprivateunorderedaccessviewsize;

SIZE_T Pfnd3dwddm20DdiCalcprivateunorderedaccessviewsize(
  D3D10DDI_HDEVICE unnamedParam1,
  const D3DWDDM2_0DDIARG_CREATEUNORDEREDACCESSVIEW *unnamedParam2
)
{...}

Parameters

unnamedParam1

[in] hDevice is a handle to the display device (graphics context).

unnamedParam2

[in] pCreateUnorderedAccessView is a pointer to a D3DWDDM2_0DDIARG_CREATEUNORDEREDACCESSVIEW structure that describes the parameters that the user-mode display driver uses to calculate the size of the memory region.

Return value

CalcPrivateUnorderedAccessViewSize returns the size in bytes of the memory region that the driver requires to create an unordered access view.

Requirements

Requirement Value
Minimum supported client Windows 10 (WDDM 2.0)
Header d3d10umddi.h

See also

D3DWDDM2_0DDIARG_CREATEUNORDEREDACCESSVIEW

D3D11DDI_DEVICEFUNCS