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) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for