private void Initialize(IMemoryRendererEx renderer) { m_source = renderer; m_source.SetFormatSetupCallback(OnFormatSetup); m_source.SetCallback(OnNewFrame); this.d3dSource = new D3DImageSource(); }
private void SetupOutput(IMemoryRendererEx iMemoryRenderer) { iMemoryRenderer.SetFormatSetupCallback(OnSetupCallback); iMemoryRenderer.SetExceptionHandler(OnErrorCallback); iMemoryRenderer.SetCallback(OnNewFrameCallback); }
public void Initialize(IMemoryRendererEx renderer) { m_source = renderer; m_source.SetFormatSetupCallback(OnFormatSetup); m_source.SetCallback(OnNewFrame); }