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