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
Properties
Index
public byte Index { get; init; }
Property Value
Location
public short Location { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Usage
public byte Usage { get; init; }