Enum BufferUsage ​
Namespace: ValveResourceFormat.Renderer.Buffers
Assembly: Renderer.dll
Who writes a buffer and who reads it, which decides the memory it is allocated from.
csharp
public enum BufferUsageExtension Methods ​
GLGraphicsTypeExtensions.ToGLBufferUsageHint(BufferUsage)
Fields ​
Static = 0
Written by the CPU only when it changes, read by the GPU.
Dynamic = 1
Written by the CPU most frames, read by the GPU.
GpuOnly = 2
Written and read by the GPU, never mapped by the CPU.
Readback = 3
Written by the GPU and read back by the CPU.

