Euphoria
constants.h
Go to the documentation of this file.
1#pragma once
2
3namespace eu::render
4{
5
6// OpenGL should support atleast 16 textures
7constexpr std::size_t MAX_TEXTURES_SUPPORTED = 16;
8
9// todo(Gustav): move theese to some (render) settings
10
11constexpr float ALMOST_ZERO = 0.01f;
13constexpr float ALPHA_TRANSPARENCY_LIMIT = 1.0f - ALMOST_ZERO;
14
15constexpr float OUTLINE_SCALE = 1.1f;
16
17constexpr int BLUR_SAMPLES = 10;
18
19}
20
Definition ui.h:4
constexpr float ALPHA_TRANSPARENCY_LIMIT
if alpha goes above this limit, it is no longer considered transparent
Definition constants.h:13
constexpr float ALMOST_ZERO
Definition constants.h:11
constexpr int BLUR_SAMPLES
Definition constants.h:17
constexpr float OUTLINE_SCALE
Definition constants.h:15
constexpr std::size_t MAX_TEXTURES_SUPPORTED
Definition constants.h:7