Go to the documentation of this file.
9 #ifndef EAGINE_APPLICATION_TYPES_HPP
10 #define EAGINE_APPLICATION_TYPES_HPP
12 #include "../reflect/map_enumerators.hpp"
13 #include "../tags.hpp"
27 template <
typename Selector>
30 return enumerator_map_type<video_context_kind, 2>{
42 template <
typename Selector>
45 return enumerator_map_type<audio_context_kind, 1>{
60 template <
typename Selector>
63 return enumerator_map_type<video_device_kind, 3>{
81 template <
typename Selector>
84 return enumerator_map_type<framedump_data_type, 3>{
90 constexpr
auto enumerator_mapping(
91 type_identity<framedump_data_type>,
92 application_config_tag) noexcept {
93 return enumerator_map_type<framedump_data_type, 3>{
113 template <
typename Selector>
116 return enumerator_map_type<framedump_pixel_format, 4>{
Application harness / wrapper code is placed in this namespace.
Definition: eagine.hpp:72
framedump_pixel_format
Pixel data format of frame dump image data.
Definition: types.hpp:102
@ rgba
Red, green, blue, alpha color channel data.
@ depth
Depth buffer data.
@ opengl
OpenGL© (or OpenGL|ES) context.
@ float_type
Floating-point pixel data.
audio_context_kind
Audio / sound playback and recodring context kind.
Definition: types.hpp:37
framedump_data_type
Pixel data type used to store frame dump image data.
Definition: types.hpp:72
@ hardware
Hardware rendering device.
video_device_kind
Video rendering device kind.
Definition: types.hpp:51
video_context_kind
Video / graphics rendering context kind.
Definition: types.hpp:20
@ none
None, not doing frame dump render run.
Template type used mostly for function type-tag dispatching.
Definition: type_identity.hpp:19
@ software
Software rendering device.
@ byte_type
Byte pixel data.
@ stencil
Stencil buffer data.
@ dont_care
No preferrence.