HyperRogue  11.3d
game/visualization engine based on non-Euclidean geometry
Namespaces | Functions | Variables
shaders.cpp File Reference

shaders More...

#include "hyper.h"

Namespaces

 hr
 

Functions

glhr::glmatrix hr::model_orientation_gl ()
 
shared_ptr< glhr::GLprogram > hr::write_shader (flagtype shader_flags)
 
EX void hr::add_if (string &shader, const string &seek, const string &function)
 
EX void hr::add_fixed_functions (string &shader)
 
EX flagtype hr::get_shader_flags ()
 
EX void hr::glapplymatrix (const transmatrix &V)
 

Variables

EX ld hr::levellines
 
EX bool hr::disable_texture
 
constexpr flagtype hr::GF_TEXTURE = 1
 
constexpr flagtype hr::GF_VARCOLOR = 2
 
constexpr flagtype hr::GF_LIGHTFOG = 4
 
constexpr flagtype hr::GF_LEVELS = 8
 
constexpr flagtype hr::GF_which = 15
 
constexpr flagtype hr::SF_PERS3 = 256
 
constexpr flagtype hr::SF_BAND = 512
 
constexpr flagtype hr::SF_USE_ALPHA = 1024
 
constexpr flagtype hr::SF_DIRECT = 2048
 
constexpr flagtype hr::SF_PIXELS = 4096
 
constexpr flagtype hr::SF_HALFPLANE = 8192
 
constexpr flagtype hr::SF_ORIENT = 16384
 
constexpr flagtype hr::SF_BOX = 32768
 
constexpr flagtype hr::SF_ZFOG = 65536
 
constexpr flagtype hr::SF_ODSBOX = (1<<17)
 
constexpr int hr::aPosition = 0
 
constexpr int hr::aColor = 3
 
constexpr int hr::aTexture = 8
 
constexpr int hr::INVERSE_EXP_BINDING = 2
 
EX map< string, shared_ptr< glhr::GLprogram > > hr::compiled_programs
 
EX map< unsigned, shared_ptr< glhr::GLprogram > > hr::matched_programs
 

Detailed Description

shaders