Table of Contents

Class MgfxVertexAttributeInfo

Namespace
ShadowDusk.Core
Assembly
ShadowDusk.Core.dll

One vertex-attribute table entry (GL profile only) mapping a GLSL attribute to a VertexElementUsage+index, as MonoGame's Shader reader expects for a vertex shader.

public sealed record MgfxVertexAttributeInfo : IEquatable<MgfxVertexAttributeInfo>
Inheritance
MgfxVertexAttributeInfo
Implements
Inherited Members

Constructors

MgfxVertexAttributeInfo(string, byte, byte, short)

One vertex-attribute table entry (GL profile only) mapping a GLSL attribute to a VertexElementUsage+index, as MonoGame's Shader reader expects for a vertex shader.

public MgfxVertexAttributeInfo(string Name, byte Usage, byte Index, short Location)

Parameters

Name string
Usage byte
Index byte
Location short

Properties

Index

public byte Index { get; init; }

Property Value

byte

Location

public short Location { get; init; }

Property Value

short

Name

public string Name { get; init; }

Property Value

string

Usage

public byte Usage { get; init; }

Property Value

byte