|
FuncDoodle
|
Global constants used throughout FuncDoodle. More...
#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | FuncDoodle |
| The FuncDoodle C++ namespace. | |
Functions | |
| consteval const char * | FuncDoodle::FuncVer () |
Variables | |
| constexpr uint8_t | FuncDoodle::g_MaxColorValue = 255 |
| Maximum value for an 8-bit color channel. | |
| constexpr uint8_t | FuncDoodle::g_ColorWhite = 255 |
| Fully white RGB channel value. | |
| constexpr uint8_t | FuncDoodle::g_AlphaOpaque = 255 |
| Fully opaque alpha value. | |
| constexpr uint8_t | FuncDoodle::g_ColorGrayRgb = 150 |
| Default gray color value in RGB space. | |
| constexpr int | FuncDoodle::g_BufferChunkSize = 32 |
| Size of an internal buffer chunk (used for batching/processing). | |
| constexpr int | FuncDoodle::g_DefaultCanvasWidth = 32 |
| Default canvas width in pixels. | |
| constexpr int | FuncDoodle::g_DefaultCanvasHeight = 32 |
| Default canvas height in pixels. | |
| constexpr int | FuncDoodle::g_ToolbarHeight = 32 |
| Height of the application toolbar in pixels. | |
| constexpr int | FuncDoodle::g_DefaultWindowWidth = 1920 |
| Default application window width in pixels. | |
| constexpr int | FuncDoodle::g_DefaultWindowHeight = 1080 |
| Default application window height in pixels. | |
| constexpr int | FuncDoodle::g_TimelineWidth = 1074 |
| Width of the timeline UI panel. | |
| constexpr int | FuncDoodle::g_TimelineHeight = 160 |
| Height of the timeline UI panel. | |
| constexpr int | FuncDoodle::g_MenuNameBufferSize = 32 |
| Maximum buffer size for menu name strings. | |
| constexpr int | FuncDoodle::g_FilePathBufferSize = 512 |
| Maximum buffer size for file path strings. | |
| constexpr int | FuncDoodle::g_LargeBufferSize = 1024 |
| Large general-purpose buffer size for temporary storage. | |
| constexpr int | FuncDoodle::g_KeybindBufferSize = 1024 |
| Buffer size for keybind serialization/deserialization. | |
| constexpr int | FuncDoodle::g_KeyNameBufferSize = 256 |
| Buffer size for storing key name strings. | |
| constexpr float | FuncDoodle::g_MaxRotationDeg = 360.0f |
| Maximum rotation angle in degrees. | |
| constexpr int | FuncDoodle::g_HalfAlpha = 128 |
| Half alpha value (semi-transparent). | |
| constexpr int | FuncDoodle::g_DashColorPrimary = 150 |
| Primary dash color intensity (used in UI/grid rendering). | |
| constexpr int | FuncDoodle::g_DashColorSecondary = 255 |
| Secondary dash color intensity (used in UI/grid rendering). | |
| constexpr int | FuncDoodle::g_UuidRandomRange = 255 |
| Maximum range used for UUID random generation byte selection. | |
| constexpr double | FuncDoodle::g_MinDeltaTime = 1.0 / 1000.0 |
| Minimum allowed delta time between frames (seconds). | |
| constexpr double | FuncDoodle::g_MaxDeltaTime = 1.0 |
| Maximum allowed delta time between frames (seconds). | |
| constexpr float | FuncDoodle::g_DefaultFps = 60.0f |
| Default target FPS for timing calculations. | |
| constexpr float | FuncDoodle::g_FrameTimeDivisor = 1000.0f |
| Divisor used when converting milliseconds to frame time. | |
| constexpr bool | FuncDoodle::c_Debug = true |
| static constexpr const char * | FuncDoodle::c_FuncVer = FuncVer() |
| The FuncDoodle version string. | |
| static constexpr uint8_t | FuncDoodle::c_FdpVerMajor = 0 |
| FuncDoodle project file format major version. | |
| static constexpr uint8_t | FuncDoodle::c_FdpVerMinor = 4 |
| FuncDoodle project file format minor version. | |
Global constants used throughout FuncDoodle.
This file defines commonly used fixed values such as UI sizes, buffer limits, color constants, timing constraints, and other application-wide configuration constants.
These values are intended to remain immutable at runtime and provide a single source of truth for engine-wide parameters.