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>