PFND3DWDDM2_2DDI_SHADERCACHE_ADDREF_RELEASE_CB callback function (d3d10umddi.h)
The pfnShaderCacheAddRefCb callback function supports the ability to extend the lifetime of a shader cache.
Syntax
PFND3DWDDM2_2DDI_SHADERCACHE_ADDREF_RELEASE_CB Pfnd3dwddm22DdiShadercacheAddrefReleaseCb;
void Pfnd3dwddm22DdiShadercacheAddrefReleaseCb(
D3DWDDM2_2DDI_HRTCACHESESSION hCacheSession
)
{...}
Parameters
hCacheSession
The handler of a cache session.
Return value
None
Remarks
Access this callback function by using the D3DWDDM2_2DDI_CORELAYER_DEVICECALLBACKS structure.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10umddi.h (include D3d12umddi.h) |