PFND3D11DDI_CALCPRIVATETESSELLATIONSHADERSIZE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

PFND3D11DDI_CALCPRIVATETESSELLATIONSHADERSIZE Pfnd3d11ddiCalcprivatetessellationshadersize;

SIZE_T Pfnd3d11ddiCalcprivatetessellationshadersize(
  D3D10DDI_HDEVICE unnamedParam1,
  const UINT *pShaderCode,
  const D3D11DDIARG_TESSELLATION_IO_SIGNATURES *unnamedParam3
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-pfnd3d11ddi_calcprivatetessellationshadersize)

PFND3D11DDI_CALCPRIVATETESSELLATIONSHADERSIZE callback function

Description

The CalcPrivateTessellationShaderSize 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 hull or domain shader.

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

pShaderCode

unnamedParam3

pCode [in]

An array of CONST UINT tokens that form the hull-shader code or domain-shader code.

Return value

CalcPrivateTessellationShaderSize returns the size of the memory region that the driver requires to create a hull or domain shader.

Remarks

The Direct3D runtime calls the driver's CalcPrivateTessellationShaderSize function to calculate the size of the memory region for a hull or domain shader. This is similar to the way that the Direct3D runtime calls the driver's CalcPrivateShaderSize function to calculate the size of the memory region for a pixel, vertex, or geometry shader (that is, a geometry shader without stream output).

See also

CalcPrivateShaderSize

D3D11DDIARG_TESSELLATION_IO_SIGNATURES

D3D11DDI_DEVICEFUNCS