// d3d10umddi.h
PFND3DWDDM2_2DDI_SHADERCACHE_ADDREF_RELEASE_CB Pfnd3dwddm22DdiShadercacheAddrefReleaseCb;
void Pfnd3dwddm22DdiShadercacheAddrefReleaseCb(
D3DWDDM2_2DDI_HRTCACHESESSION hCacheSession
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnShaderCacheAddRefCb callback function supports the ability to extend the lifetime of a shader cache.
hCacheSessionThe handler of a cache session.
Access this callback function by using the D3DWDDM2_2DDI_CORELAYER_DEVICECALLBACKS structure.
D3DWDDM2_2DDI_CORELAYER_DEVICECALLBACKS