Table of Contents

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

Position Vector3
Color Color32

Fields

SizeInBytes

public static readonly int SizeInBytes

Field Value

int

Properties

Color

public Color32 Color { readonly get; set; }

Property Value

Color32

Position

public Vector3 Position { readonly get; set; }

Property Value

Vector3

Methods

BindDefaultShaderLayout(int, int)

public static void BindDefaultShaderLayout(int vao, int shaderProgram)

Parameters

vao int
shaderProgram int