PFND3D10DDI_CALCPRIVATESHADERSIZE callback function

The CalcPrivateShaderSize 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 a shader.

Syntax

PFND3D10DDI_CALCPRIVATESHADERSIZE Pfnd3d10ddiCalcprivateshadersize;

SIZE_T Pfnd3d10ddiCalcprivateshadersize(
  D3D10DDI_HDEVICE Arg1,
  CONST UINT *pShaderCode,
  CONST D3D10DDIARG_STAGE_IO_SIGNATURES *
)
{...}

Parameters

Arg1

*pShaderCode

*

Return Value

CalcPrivateShaderSize returns the size of the memory region that the driver requires for creating a shader.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See Also

D3D10DDIARG_STAGE_IO_SIGNATURES

D3D10DDI_DEVICEFUNCS