Table of Contents

Struct GLUniform

Namespace
ReFuel.Graphics.OpenGL
Assembly
ReFuel.dll
public readonly record struct GLUniform : IEquatable<GLUniform>
Implements
Inherited Members

Constructors

GLUniform(int, string, int, UniformType)

public GLUniform(int Location, string Name, int Size, UniformType Type)

Parameters

Location int
Name string
Size int
Type UniformType

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 UniformType Type { get; init; }

Property Value

UniformType

Methods

FromIndex(int, uint)

public static GLUniform FromIndex(int program, uint index)

Parameters

program int
index uint

Returns

GLUniform