Class QuadIndexBuffer
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Pre-computed index buffer for rendering quads as triangle pairs.
csharp
public class QuadIndexBufferInheritance
Constructors
QuadIndexBuffer(int)
Allocates the buffer and fills it with quad-to-triangle index patterns.
csharp
public QuadIndexBuffer(int size)Parameters
size int
Total number of indices to generate (must be a multiple of 6).
Properties
GLHandle
Gets the OpenGL buffer object handle.
csharp
public int GLHandle { get; }
