コード例 #1
0
        void ReleaseInternalObjects()
        {
            _recv?.Dispose();
            _recv = null;

            _converter?.Dispose();
            _converter = null;
        }
コード例 #2
0
        void ReleaseInternalObjects()
        {
            _send?.Dispose();
            _send = null;

            _converter?.Dispose();
            _converter = null;
        }
コード例 #3
0
 void PrepareInternalObjects()
 {
     if (_recv == null)
     {
         _recv = RecvHelper.TryCreateRecv(_ndiName);
     }
     if (_converter == null)
     {
         _converter = new FormatConverter(_resources);
     }
     if (_override == null)
     {
         _override = new MaterialPropertyBlock();
     }
 }
コード例 #4
0
 void PrepareInternalObjects()
 {
     if (_send == null)
     {
         _send = Interop.Send.Create(_ndiName);
     }
     if (_converter == null)
     {
         _converter = new FormatConverter(_resources);
     }
     if (_onReadback == null)
     {
         _onReadback = OnReadback;
     }
 }