Skip to content

Latest commit

 

History

History
75 lines (56 loc) · 2.6 KB

nc-d3d10umddi-pfnd3d10ddi_calcprivatesamplersize.md

File metadata and controls

75 lines (56 loc) · 2.6 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.PFND3D10DDI_CALCPRIVATESAMPLERSIZE
PFND3D10DDI_CALCPRIVATESAMPLERSIZE (d3d10umddi.h)
The CalcPrivateSamplerSize 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 sampler.
display\calcprivatesamplersize.htm
05/10/2018
PFND3D10DDI_CALCPRIVATESAMPLERSIZE callback function
CalcPrivateSamplerSize, CalcPrivateSamplerSize callback function [Display Devices], PFND3D10DDI_CALCPRIVATESAMPLERSIZE, PFND3D10DDI_CALCPRIVATESAMPLERSIZE callback, UserModeDisplayDriverDx10_Functions_66c06423-c710-4b1f-8084-d42c79066909.xml, d3d10umddi/CalcPrivateSamplerSize, display.calcprivatesamplersize
d3d10umddi.h
D3d10umddi.h
Desktop
Available in Windows Vista and later versions of the Windows operating systems.
Windows
display
PFND3D10DDI_CALCPRIVATESAMPLERSIZE
d3d10umddi/PFND3D10DDI_CALCPRIVATESAMPLERSIZE
APIRef
kbSyntax
UserDefined
d3d10umddi.h
PFND3D10DDI_CALCPRIVATESAMPLERSIZE

PFND3D10DDI_CALCPRIVATESAMPLERSIZE callback function

-description

The CalcPrivateSamplerSize 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 sampler.

-parameters

-param unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

-param unnamedParam2

pSamplerDesc [in]

A pointer to a D3D10_DDI_SAMPLER_DESC structure that describes the parameters that the user-mode display driver uses to calculate the size of the memory region.

-returns

CalcPrivateSamplerSize returns the size of the memory region that the driver requires for creating a sampler.

-see-also

D3D10DDI_DEVICEFUNCS

D3D10_DDI_SAMPLER_DESC