Skip to content

Latest commit

 

History

History
85 lines (60 loc) · 3.36 KB

nc-d3d10umddi-pfnd3d11ddi_calcprivatetessellationshadersize.md

File metadata and controls

85 lines (60 loc) · 3.36 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3d10umddi.PFND3D11DDI_CALCPRIVATETESSELLATIONSHADERSIZE
PFND3D11DDI_CALCPRIVATETESSELLATIONSHADERSIZE (d3d10umddi.h)
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.
display\calcprivatetessellationshadersize.htm
05/10/2018
PFND3D11DDI_CALCPRIVATETESSELLATIONSHADERSIZE callback function
CalcPrivateTessellationShaderSize, CalcPrivateTessellationShaderSize callback function [Display Devices], PFND3D11DDI_CALCPRIVATETESSELLATIONSHADERSIZE, PFND3D11DDI_CALCPRIVATETESSELLATIONSHADERSIZE callback, UserModeDisplayDriverDx11_Functions_a669f28f-b275-4265-b6ae-5c3526d81b46.xml, d3d10umddi/CalcPrivateTessellationShaderSize, display.calcprivatetessellationshadersize
d3d10umddi.h
D3d10umddi.h
Desktop
CalcPrivateTessellationShaderSize is supported beginning with the Windows 7 operating system.
Windows
display
PFND3D11DDI_CALCPRIVATETESSELLATIONSHADERSIZE
d3d10umddi/PFND3D11DDI_CALCPRIVATETESSELLATIONSHADERSIZE
APIRef
kbSyntax
UserDefined
d3d10umddi.h
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

-param unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

-param pShaderCode

-param unnamedParam3

pCode [in]

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

-returns

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