Class AlignedBuffer
- Namespace
 - ReFuel.Collections
 
- Assembly
 - ReFuel.Common.dll
 
A write only buffer that is intended for aligned memory operations regarding graphics APIs. Not intended for anything useful outside of that.
public class AlignedBuffer
  - Inheritance
 - 
      
      AlignedBuffer
 
- Inherited Members
 
Properties
Capacity
public int Capacity { get; }
  Property Value
Granularity
public int Granularity { get; set; }
  Property Value
Head
public ref byte Head { get; }
  Property Value
Size
public int Size { get; }
  Property Value
Methods
Align(int)
public void Align(int alignment)
  Parameters
alignmentint
Clear(bool)
public void Clear(bool yieldMemory = false)
  Parameters
yieldMemorybool
Write<T>(ReadOnlySpan<T>)
public void Write<T>(ReadOnlySpan<T> data) where T : unmanaged
  Parameters
dataReadOnlySpan<T>
Type Parameters
T
Write<T>(in T)
public void Write<T>(in T data) where T : unmanaged
  Parameters
dataT
Type Parameters
T