다음을 통해 공유


CompositionGraphicsDevice.RenderingDeviceReplaced 이벤트

정의

렌더링 디바이스를 교체할 때 트리거되는 이벤트입니다.

// Register
event_token RenderingDeviceReplaced(TypedEventHandler<CompositionGraphicsDevice, RenderingDeviceReplacedEventArgs const&> const& handler) const;

// Revoke with event_token
void RenderingDeviceReplaced(event_token const* cookie) const;

// Revoke with event_revoker
CompositionGraphicsDevice::RenderingDeviceReplaced_revoker RenderingDeviceReplaced(auto_revoke_t, TypedEventHandler<CompositionGraphicsDevice, RenderingDeviceReplacedEventArgs const&> const& handler) const;
public event TypedEventHandler<CompositionGraphicsDevice,RenderingDeviceReplacedEventArgs> RenderingDeviceReplaced;
function onRenderingDeviceReplaced(eventArgs) { /* Your code */ }
compositionGraphicsDevice.addEventListener("renderingdevicereplaced", onRenderingDeviceReplaced);
compositionGraphicsDevice.removeEventListener("renderingdevicereplaced", onRenderingDeviceReplaced);
- or -
compositionGraphicsDevice.onrenderingdevicereplaced = onRenderingDeviceReplaced;
Public Custom Event RenderingDeviceReplaced As TypedEventHandler(Of CompositionGraphicsDevice, RenderingDeviceReplacedEventArgs) 

이벤트 유형

적용 대상