Example #1
0
 public void Add(BufferRangeRL bufferRange)
 {
     lock (this)
     {
         if (bufferRange is BufferRangeRL)
         {
             bufferRanges.Add((BufferRangeRL)bufferRange);
         }
         else
         {
             throw new ArgumentException("bufferRange does not match buffer - expecting OpenRL buffer range");
         }
     }
 }
Example #2
0
 internal BufferRangeGLRL(BufferRangeGL gl, BufferRangeRL rl)
 {
     bufferRangeGL = gl;
     bufferRangeRL = rl;
 }