/// <summary>
 /// Sets the values of this <see cref="BufferRangeBinding"/> to the entire given subset.
 /// </summary>
 public void SetRange(BufferObjectSubset buffer)
 {
     Buffer = buffer.Buffer;
     Offset = buffer.StorageOffsetInBytes;
     Size   = buffer.StorageLengthInBytes;
 }
 /// <summary>
 /// Set the values of this <see cref="BufferRangeBinding"/> to the specified range of the given buffer.
 /// </summary>
 public void SetRange(BufferObjectSubset buffer, uint offset, uint size)
 {
     Buffer = buffer.Buffer;
     Offset = offset;
     Size   = size;
 }