Direct3D11CaptureFramePool.FrameArrived 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取的畫面格儲存在框架組區時引發的事件。
// Register
event_token FrameArrived(TypedEventHandler<Direct3D11CaptureFramePool, IInspectable const&> const& handler) const;
// Revoke with event_token
void FrameArrived(event_token const* cookie) const;
// Revoke with event_revoker
Direct3D11CaptureFramePool::FrameArrived_revoker FrameArrived(auto_revoke_t, TypedEventHandler<Direct3D11CaptureFramePool, IInspectable const&> const& handler) const;
public event TypedEventHandler<Direct3D11CaptureFramePool,object> FrameArrived;
function onFrameArrived(eventArgs) { /* Your code */ }
direct3D11CaptureFramePool.addEventListener("framearrived", onFrameArrived);
direct3D11CaptureFramePool.removeEventListener("framearrived", onFrameArrived);
- or -
direct3D11CaptureFramePool.onframearrived = onFrameArrived;
Public Custom Event FrameArrived As TypedEventHandler(Of Direct3D11CaptureFramePool, Object)
事件類型
TypedEventHandler<Direct3D11CaptureFramePool,IInspectable>