Struct SimpleVertexNormal
- Namespace
- ValveResourceFormat.Renderer
- Assembly
- Renderer.dll
Simple vertex with position, color, and normal for debug rendering.
public record struct SimpleVertexNormal : IEquatable<SimpleVertexNormal>Implements
Inherited Members
Constructors
SimpleVertexNormal(Vector3, Color32, Vector3)
Simple vertex with position, color, and normal for debug rendering.
public SimpleVertexNormal(Vector3 Position, Color32 Color, Vector3 Normal)Parameters
SimpleVertexNormal(Vector3, Color32)
public SimpleVertexNormal(Vector3 Position, Color32 Color)Parameters
Fields
SizeInBytes
public static readonly int SizeInBytesField Value
Properties
Color
public Color32 Color { readonly get; set; }Property Value
Normal
public Vector3 Normal { 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)