Symphony Of Empires
Eng3D::OpenGL::Option Class Reference

Option that is passed to the GLSL transpiler for preprocessing the shaders and programming them on the fly. More...

#include <shader.hpp>

Public Member Functions

 Option ()=default
 
 Option (std::string option, bool use)
 
std::string get_option () const
 

Public Attributes

bool used = false
 

Detailed Description

Option that is passed to the GLSL transpiler for preprocessing the shaders and programming them on the fly.

Definition at line 56 of file shader.hpp.

Constructor & Destructor Documentation

◆ Option() [1/2]

Eng3D::OpenGL::Option::Option ( )
default

◆ Option() [2/2]

Eng3D::OpenGL::Option::Option ( std::string  option,
bool  use 
)
inline

Definition at line 62 of file shader.hpp.

Member Function Documentation

◆ get_option()

std::string Eng3D::OpenGL::Option::get_option ( ) const
inline

Definition at line 69 of file shader.hpp.

Member Data Documentation

◆ used

bool Eng3D::OpenGL::Option::used = false

Definition at line 59 of file shader.hpp.


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