protected virtual void FreeEvrCallback() { if (_evrCallback != null) { _evrCallback.Dispose(); } _evrCallback = null; }
/// <summary> /// Callback executed when video size if present. /// </summary> /// <param name="evrCallback">evrCallback</param> protected virtual void OnVideoSizePresent(EVRCallback evrCallback) { FireStateReady(); }
protected virtual void CreateEvrCallback() { _evrCallback = new EVRCallback(RenderFrame, OnTextureInvalidated); _evrCallback.VideoSizePresent += OnVideoSizePresent; }
protected virtual void FreeEvrCallback() { if (_evrCallback != null) _evrCallback.Dispose(); _evrCallback = null; }