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