-
Notifications
You must be signed in to change notification settings - Fork 104
/
hello_imgui_example.ini
63 lines (53 loc) · 2.8 KB
/
hello_imgui_example.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
; This is an example configuration file for hello_imgui
; To use it:
; - Rename this file to hello_imgui.ini
; - Edit the values to match your needs
; - Place it in the current working directory of your application
; - Or any parent directory of the current working directory, to apply the settings to multiple applications.
[DpiAwareParams]
; - `dpiWindowSizeFactor`:factor by which window size should be multiplied
; - `fontRenderingScale`:
; factor by which fonts glyphs should be scaled at rendering time
; (typically 1 on windows, and 0.5 on macOS retina screens)
;
; By default, Hello ImGui will compute them automatically
;dpiWindowSizeFactor=2
;fontRenderingScale=0.5
; `fontOversampleH` and `fontOversampleV` : Font oversampling parameters
; Rasterize at higher quality for sub-pixel positioning. Probably unused if freeType is used.
; If not zero, these values will be used to set the oversampling factor when loading fonts.
; (i.e. they will be set in ImFontConfig::OversampleH and ImFontConfig::OversampleV)
; fontOversampleH: The difference between 2 and 3 for OversampleH is minimal.
; You can reduce this to 1 for large glyphs save memory.
; fontOversampleV: This is not really useful as we don't use sub-pixel positions on the Y axis.
; fontOversampleH=2
; fontOversampleV=1
[OpenGlOptions]
; OpenGlOptions contains advanced options used at the startup of OpenGL.
; These parameters are reserved for advanced users.
; By default, Hello ImGui will select reasonable default values, and these parameters are not used.
; Use at your own risk, as they make break the multi-platform compatibility of your application!
; All these parameters are platform dependent.
; For real multiplatform examples, see
; hello_imgui/src/hello_imgui/internal/backend_impls/opengl_setup_helper/opengl_setup_glfw.cpp
; and
; hello_imgui/src/hello_imgui/internal/backend_impls/opengl_setup_helper/opengl_setup_sdl.cpp
; GlslVersion = 130
; MajorVersion = 3
; MinorVersion = 2
; UseCoreProfile = true
; UseForwardCompat = false
; `AntiAliasingSamples`
; If > 0, this value will be used to set the number of samples used for anti-aliasing.
; This is used only when running with Glfw + OpenGL (which is the default)
; Notes:
; - we query the maximum number of samples supported by the hardware, via glGetIntegerv(GL_MAX_SAMPLES)
; - if you set this value to a non-zero value, it will be used instead of the default value of 8
; (except if it is greater than the maximum supported value, in which case a warning will be issued)
; - if you set this value to 0, anti-aliasing will be disabled
;
; AntiAliasingSamples has a strong impact on the quality of the text rendering
; - 0: no anti-aliasing
; - 8: optimal
; - 16: optimal if using imgui-node-editor and you want to render very small text when unzooming
;AntiAliasingSamples=8