PFND3DWDDM2_2DDI_SET_SHADERCACHE_SESSION callback function (d3d10umddi.h)
The pfnSetShaderCacheSession callback function sets a shader cache session.
Syntax
PFND3DWDDM2_2DDI_SET_SHADERCACHE_SESSION Pfnd3dwddm22DdiSetShadercacheSession;
void Pfnd3dwddm22DdiSetShadercacheSession(
D3D10DDI_HDEVICE unnamedParam1,
D3DWDDM2_2DDI_HCACHESESSION unnamedParam2
)
{...}
Parameters
unnamedParam1
hDevice
A handle to the display device (graphics context).
unnamedParam2
hCacheSession
The handle of a cache session.
Return value
None
Remarks
Access this callback function by using the D3DWDDM2_2DDI_DEVICEFUNCS structure.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10umddi.h (include D3d12umddi.h) |