protected void RenderFrame() { RenderDlgt dlgt = _renderDlgt; bool wait = _synchronizationStrategy.SyncToAudio ? !_soundOutput.HasAudio : dlgt == null; if (dlgt != null) { dlgt(); } if (wait) { _synchronizationStrategy.Synchronize(); } }
public EVRCallback(RenderDlgt renderDlgt, Action onTextureInvalidated) { _onTextureInvalidated = onTextureInvalidated; _renderDlgt = renderDlgt; _device = SkinContext.Device; }
public EVRCallback(RenderDlgt renderDlgt, Action onTextureInvalidated) { _onTextureInvalidated = onTextureInvalidated; _renderDlgt = renderDlgt; _device = SkinContext.Device; }
public EVRCallback(RenderDlgt renderDlgt, Action onTextureInvalidated) { _onTextureInvalidated = onTextureInvalidated; _renderDlgt = renderDlgt; }
public EVRCallback(RenderDlgt renderDlgt, Action onTextureInvalidated) { _onTextureInvalidated = onTextureInvalidated; _renderDlgt = renderDlgt; }
public bool SetRenderDelegate(RenderDlgt dlgt) { return(_retro != null && _retro.SetRenderDelegate(dlgt)); }
public bool SetRenderDelegate(RenderDlgt dlgt) { _renderDlgt = dlgt; return(true); }