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