Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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) |