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 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) |