콘텐츠로 이동

GpuInteropInvalidatedEventArgs class

이 콘텐츠는 아직 번역되지 않았습니다.

Event data for a notification that external GPU interop resources should be revalidated. This event is notification-only; it does not suppress backend-owned resource invalidation.

public sealed class GpuInteropInvalidatedEventArgs : EventArgs
name description
GpuInteropInvalidatedEventArgs(…) Creates event data for reason.
DisplayChanged { get; } Gets whether the display associated with the render target changed.
ExternalResourceMismatch { get; } Gets whether an external resource was found incompatible with the render target.
Reason { get; } Gets the primary reason for the invalidation.
RenderTargetDeviceChanged { get; } Gets whether the render target device changed or was recreated.
RenderTargetHandle { get; } Optional backend/platform render target handle associated with this invalidation. For window targets this is the platform’s native window handle. A value of 0 means the invalidation is factory-wide or not tied to a single render target.