docs
Docs
C++ API
C API
Search API
Ctrl K
2.0
2.0
latest
1.4
Ultralight C++ API
2.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
Config.h
Go to the documentation of this file.
1
// Generated by CMake - DO NOT EDIT
2
#pragma once
3
4
// Current edition level (compare with the ULTRALIGHT_EDITION_* levels below)
5
#define ULTRALIGHT_EDITION_LEVEL 2
6
7
// Edition name string
8
#define ULTRALIGHT_EDITION_NAME "Pro"
9
10
// Edition defines
11
#define ULTRALIGHT_EDITION_FREE 0
12
#define ULTRALIGHT_EDITION_PLUS 1
13
#define ULTRALIGHT_EDITION_PRO 2
14
#define ULTRALIGHT_EDITION_ENTERPRISE 3
15
#define ULTRALIGHT_EDITION_UNLIMITED 4
16
17
// Edition check macros
18
#define UL_EDITION(x) (ULTRALIGHT_EDITION_LEVEL == ULTRALIGHT_EDITION_##x)
19
#define UL_EDITION_AT_LEAST(x) (ULTRALIGHT_EDITION_LEVEL >= ULTRALIGHT_EDITION_##x)
20
21
// Maximum FPS each View can render at (0 is uncapped)
22
#define ULTRALIGHT_EDITION_MAX_FPS 0
23
24
// Whether or not this is an evaluation build
25
#define ULTRALIGHT_EVALUATION 0
26
27
// Feature availability flags (resolved at CMake configure time from edition floors + user overrides)
28
#define ULTRALIGHT_ENABLE_PROFILER 1
29
#define ULTRALIGHT_ENABLE_RENDER_TRACE 0
30
#define ULTRALIGHT_ENABLE_GC_LISTENER 1
31
#define ULTRALIGHT_ENABLE_MEDIA 1
32
#define ULTRALIGHT_ENABLE_PERFETTO_BACKEND 1
33
#define ULTRALIGHT_ENABLE_TESTING 0
34
#define ULTRALIGHT_ENABLE_COMPRESSED_TEXTURES 1
35
#define ULTRALIGHT_ENABLE_JSC_DIAGNOSTICS 0
36
37
// Shorthand feature check, mirrors the UL_EDITION_AT_LEAST shape. Usage: #if UL_HAS(PROFILER)
38
#define UL_HAS(x) (ULTRALIGHT_ENABLE_##x)
Ultralight
Config.h
Docs
C++ API
C API
Version
2.0
2.0
latest
1.4