Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
AeonGames::OpenGLVariable Struct Reference

Describes an OpenGL shader variable with its location and type. More...

#include <C:/Code/AeonEngine/engine/renderers/opengl/OpenGLVariable.hpp>

Collaboration diagram for AeonGames::OpenGLVariable:
Collaboration graph

Public Attributes

uint32_t name
 Name hash identifier of the variable.
union { 
   GLint   binding 
   GLint   location 
   GLint   offset 
}; 
GLint size
 Element count of the variable.
GLenum type
 OpenGL type enumeration value.

Detailed Description

Describes an OpenGL shader variable with its location and type.

Definition at line 25 of file OpenGLVariable.hpp.

Member Data Documentation

◆ binding

GLint AeonGames::OpenGLVariable::binding

Definition at line 30 of file OpenGLVariable.hpp.

◆ location

GLint AeonGames::OpenGLVariable::location

Definition at line 31 of file OpenGLVariable.hpp.

◆ name

uint32_t AeonGames::OpenGLVariable::name

Name hash identifier of the variable.

Definition at line 27 of file OpenGLVariable.hpp.

◆ offset

GLint AeonGames::OpenGLVariable::offset

Definition at line 32 of file OpenGLVariable.hpp.

◆ size

GLint AeonGames::OpenGLVariable::size

Element count of the variable.

Definition at line 34 of file OpenGLVariable.hpp.

◆ type

GLenum AeonGames::OpenGLVariable::type

OpenGL type enumeration value.

Definition at line 35 of file OpenGLVariable.hpp.


The documentation for this struct was generated from the following file: