Struct SimpleVertexNormal ​
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Simple vertex with position, color, and normal for debug rendering.
csharp
public record struct SimpleVertexNormal : IEquatable<SimpleVertexNormal>Implements ​
IEquatable<SimpleVertexNormal>
Constructors ​
SimpleVertexNormal(Vector3, Color32, Vector3) ​
Simple vertex with position, color, and normal for debug rendering.
csharp
public SimpleVertexNormal(Vector3 Position, Color32 Color, Vector3 Normal)Parameters ​
Position Vector3
Color Color32
Normal Vector3
SimpleVertexNormal(Vector3, Color32) ​
Initializes a with a zero normal.
csharp
public SimpleVertexNormal(Vector3 Position, Color32 Color)Parameters ​
Position Vector3
Vertex position.
Color Color32
Vertex color.
Fields ​
InputLayout ​
Vertex layout, for creating VAOs.
csharp
public static readonly VertexInputLayout InputLayoutField Value ​
Properties ​
Color ​
csharp
public Color32 Color { readonly get; set; }Property Value ​
Normal ​
csharp
public Vector3 Normal { readonly get; set; }Property Value ​
Position ​
csharp
public Vector3 Position { readonly get; set; }
