PFND3DWDDM2_2DDI_CALCPRIVATE_SHADERCACHE_SESSION_SIZE callback function (d3d10umddi.h)
The pfnCalcPrivateShaderCacheSessionSize callback function returns the size of a private shader cache session.
Syntax
PFND3DWDDM2_2DDI_CALCPRIVATE_SHADERCACHE_SESSION_SIZE Pfnd3dwddm22DdiCalcprivateShadercacheSessionSize;
SIZE_T Pfnd3dwddm22DdiCalcprivateShadercacheSessionSize(
D3D10DDI_HDEVICE unnamedParam1
)
{...}
Parameters
unnamedParam1
hDevice
The handle of a device.
Return value
This function returns the size of the private shader cache session.
Remarks
Access this callback function by using the D3DWDDM2_2DDI_DEVICEFUNCS structure.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10umddi.h (include D3d12umddi.h) |