Struct SimpleVertex
- Namespace
- ValveResourceFormat.Renderer
- Assembly
- Renderer.dll
Simple vertex with position and color for debug rendering.
public record struct SimpleVertex : IEquatable<SimpleVertex>Implements
Inherited Members
Constructors
SimpleVertex(Vector3, Color32)
Simple vertex with position and color for debug rendering.
public SimpleVertex(Vector3 Position, Color32 Color)Parameters
Fields
SizeInBytes
public static readonly int SizeInBytesField Value
Properties
Color
public Color32 Color { readonly get; set; }Property Value
Position
public Vector3 Position { readonly get; set; }Property Value
Methods
BindDefaultShaderLayout(int, int)
public static void BindDefaultShaderLayout(int vao, int shaderProgram)