Skip to content

GpuInteropInvalidationReason enumeration

Describes why external GPU interop resources should be revalidated before reuse.

public enum GpuInteropInvalidationReason
name value description
DisplayChanged 0 The platform display or monitor associated with a render target changed.
RenderTargetDeviceChanged 1 The backend render target device changed or was recreated.
DeviceLost 2 The backend GPU device was lost and backend-owned GPU resources were invalidated.
ExternalResourceMismatch 3 An external GPU resource no longer appears compatible with the current render target.