SGCT master (487fac4)
Simple Graphics Cluster Toolkit
Loading...
Searching...
No Matches
sgct::Engine::Settings Struct Reference

#include <sgct/engine.h>

Collaboration diagram for sgct::Engine::Settings:

Classes

struct  SS

Public Attributes

bool createDebugContext = false
 Stores the configuration option whether the created OpenGL contexts should be debug contexts or regular ones.
int8_t swapInterval = 1
 Sets the swap interval to be used by the application -1 = adaptive sync(Nvidia) 0 = vertical sync off 1 = wait for vertical sync 2..inf = wait for every n-th vertical sync.
bool printSyncMessage = true
 If this is true, a log message is printed to the console while a client is waiting for the master to connect or while the master is waiting for one or more clients.
bool captureBackBuffer = false
 Get if capture should use backbuffer data or texture.
bool useDepthTexture = false
bool useNormalTexture = false
bool usePositionTexture = false
float syncTimeout = 60.f
 The number of seconds that SGCT will wait for the master or clients to connect before aborting.
struct sgct::Engine::Settings::SS capture

Member Data Documentation

◆ capture

struct sgct::Engine::Settings::SS sgct::Engine::Settings::capture

◆ captureBackBuffer

bool sgct::Engine::Settings::captureBackBuffer = false

Get if capture should use backbuffer data or texture.

Backbuffer data includes masks and warping

◆ createDebugContext

bool sgct::Engine::Settings::createDebugContext = false

Stores the configuration option whether the created OpenGL contexts should be debug contexts or regular ones.

This value is only in use between the constructor and the #initialize function

◆ printSyncMessage

bool sgct::Engine::Settings::printSyncMessage = true

If this is true, a log message is printed to the console while a client is waiting for the master to connect or while the master is waiting for one or more clients.

◆ swapInterval

int8_t sgct::Engine::Settings::swapInterval = 1

Sets the swap interval to be used by the application -1 = adaptive sync(Nvidia) 0 = vertical sync off 1 = wait for vertical sync 2..inf = wait for every n-th vertical sync.

◆ syncTimeout

float sgct::Engine::Settings::syncTimeout = 60.f

The number of seconds that SGCT will wait for the master or clients to connect before aborting.

◆ useDepthTexture

bool sgct::Engine::Settings::useDepthTexture = false

◆ useNormalTexture

bool sgct::Engine::Settings::useNormalTexture = false

◆ usePositionTexture

bool sgct::Engine::Settings::usePositionTexture = false

The documentation for this struct was generated from the following file: