D3D12DDI_PIN_RESOURCES_CALLBACKS_0076 structure (d3d12umddi.h)
Structure containing callback functions that pin and unpin resources.
Syntax
typedef struct D3D12DDI_PIN_RESOURCES_CALLBACKS_0076 {
PFND3D12DDI_PINRESOURCES_CB_0076 pfnPinResourcesCb;
PFND3D12DDI_UNPINRESOURCES_CB_0076 pfnUnpinResourcesCb;
} D3D12DDI_PIN_RESOURCES_CALLBACKS_0076;
Members
pfnPinResourcesCb
A PFND3D12DDI_PINRESOURCES_CB_0076 callback.
pfnUnpinResourcesCb
A PFND3D12DDI_UNPINRESOURCES_CB_0076 callback.
Remarks
Drivers that advertise the optional D3D12DDI_FEATURE_0076_PIN_RESOURCES extended feature receive a PFND3D12DDI_SET_EXTENDED_FEATURE_CALLBACKS_0021 call with a DDI table type of D3D12DDI_TABLE_TYPE_0076_PIN_RESOURCES_CALLBACKS and this structure filled out with the callback pointers that the driver can use to perform these functions.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Header | d3d12umddi.h |
See also
D3D12DDI_FEATURE_0076_PIN_RESOURCES
PFND3D12DDI_PINRESOURCES_CB_0076