Struct GLAttribute
- Namespace
- ReFuel.Graphics.OpenGL
- Assembly
- ReFuel.dll
public readonly record struct GLAttribute : IEquatable<GLAttribute>
- Implements
-
- Inherited Members
-
Constructors
GLAttribute(int, string, int, AttributeType)
public GLAttribute(int Location, string Name, int Size, AttributeType Type)
Parameters
Location
int
Name
string
Size
int
Type
AttributeType
Properties
Location
public int Location { get; init; }
Property Value
- int
Name
public string Name { get; init; }
Property Value
- string
Size
public int Size { get; init; }
Property Value
- int
Type
public AttributeType Type { get; init; }
Property Value
- AttributeType
Methods
FromIndex(int, uint)
public static GLAttribute FromIndex(int program, uint index)
Parameters
program
int
index
uint
Returns
- GLAttribute