Settings
Controls global settings that affect the overall behavior of the SGCT library that are not limited just to a single window.
Parameters
If this value is set to true and a non-linear projection method if provided in a window, SGCT will also provide a buffer containing the reprojected depth values of the non-linear projection. This value defaults to false.
If this value is set to true and a non-linear projection method if provided in a window, SGCT will also provide a buffer containing the reprojected normals values of the non-linear projection. This value defaults to false.
If this value is set to true and a non-linear projection method if provided in a window, SGCT will also provide a buffer containing the reprojected positions of the non-linear projection. This value defaults to false.
Determines the floating point precision for the normal and position textures if they are enabled. Setting this value if normaltexture and positiontexture are disabled does not have any effect. This value defaults to 32.
Allowed values: 16, 32
Settings specific for the handling of display-related settings for the whole application.
0 for disabling V-Sync and 1 for regular V-Sync. The number provided determines the number of screen updates to wait before swapping the backbuffers and returning. For example on a 60Hz monitor, swapinterval="1" would lead to a maximum of 60Hz frame rate, swapinterval="2" would lead to a maximum of 30Hz frame rate. Using the same values for a 144Hz monitor would be a refresh rate of 144 and 72 respectively. The default value is 0, meaning that V-Sync is disabled.