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::kk
4
{
5
6
// OpenGL should support at least 16 textures
7
constexpr
std::size_t
max_textures_supported
= 16;
8
9
// todo(Gustav): move these 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::kk
Definition
numeric.h:9
eu::kk::almost_zero
constexpr float almost_zero
Definition
constants.h:11
eu::kk::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::kk::max_textures_supported
constexpr std::size_t max_textures_supported
Definition
constants.h:7
eu::kk::outline_scale
constexpr float outline_scale
Definition
constants.h:15
eu::kk::blur_samples
constexpr int blur_samples
Definition
constants.h:17
Generated by
1.15.0