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

#include <sgct/config.h>

Collaboration diagram for sgct::config::Window:

Classes

struct  Spout
struct  NDI
struct  Scalable
struct  OpenXR

Public Types

enum class  ColorBitDepth {
  Depth8 , Depth16 , Depth16Float , Depth32Float ,
  Depth16Int , Depth32Int , Depth16UInt , Depth32UInt
}
enum class  StereoMode {
  NoStereo = 0 , Active , AnaglyphRedCyan , AnaglyphAmberBlue ,
  AnaglyphRedCyanWimmer , Checkerboard , CheckerboardInverted , VerticalInterlaced ,
  VerticalInterlacedInverted , Dummy , SideBySide , SideBySideInverted ,
  TopBottom , TopBottomInverted
}

Public Member Functions

bool operator== (const Window &) const noexcept=default

Public Attributes

std::optional< ivec2 > pos
std::optional< ivec2 > size
std::optional< ivec2 > resolution
std::vector< Viewport > viewports
int8_t id = 0
std::optional< std::string > name
std::vector< std::string > tags
std::optional< ColorBitDepth > bufferBitDepth
std::optional< bool > isFullScreen
std::optional< bool > shouldAutoiconify
std::optional< bool > hideMouseCursor
std::optional< bool > isFloating
std::optional< bool > alwaysRender
std::optional< bool > isHidden
std::optional< bool > takeScreenshot
std::optional< bool > alpha
std::optional< uint8_t > msaa
std::optional< bool > useFxaa
std::optional< bool > isDecorated
std::optional< bool > isResizable
std::optional< bool > draw2D
std::optional< bool > draw3D
std::optional< bool > noError
std::optional< int8_t > blitWindowId
std::optional< bool > mirrorX
std::optional< bool > mirrorY
std::optional< uint8_t > monitor
std::optional< StereoMode > stereo
std::optional< Spout > spout
std::optional< NDI > ndi
std::optional< Scalable > scalable
std::optional< OpenXR > openxr

Member Enumeration Documentation

◆ ColorBitDepth

Enumerator
Depth8 
Depth16 
Depth16Float 
Depth32Float 
Depth16Int 
Depth32Int 
Depth16UInt 
Depth32UInt 

◆ StereoMode

Enumerator
NoStereo 
Active 
AnaglyphRedCyan 
AnaglyphAmberBlue 
AnaglyphRedCyanWimmer 
Checkerboard 
CheckerboardInverted 
VerticalInterlaced 
VerticalInterlacedInverted 
Dummy 
SideBySide 
SideBySideInverted 
TopBottom 
TopBottomInverted 

Member Function Documentation

◆ operator==()

bool sgct::config::Window::operator== ( const Window & ) const
defaultnoexcept

Member Data Documentation

◆ alpha

std::optional<bool> sgct::config::Window::alpha

◆ alwaysRender

std::optional<bool> sgct::config::Window::alwaysRender

◆ blitWindowId

std::optional<int8_t> sgct::config::Window::blitWindowId

◆ bufferBitDepth

std::optional<ColorBitDepth> sgct::config::Window::bufferBitDepth

◆ draw2D

std::optional<bool> sgct::config::Window::draw2D

◆ draw3D

std::optional<bool> sgct::config::Window::draw3D

◆ hideMouseCursor

std::optional<bool> sgct::config::Window::hideMouseCursor

◆ id

int8_t sgct::config::Window::id = 0

◆ isDecorated

std::optional<bool> sgct::config::Window::isDecorated

◆ isFloating

std::optional<bool> sgct::config::Window::isFloating

◆ isFullScreen

std::optional<bool> sgct::config::Window::isFullScreen

◆ isHidden

std::optional<bool> sgct::config::Window::isHidden

◆ isResizable

std::optional<bool> sgct::config::Window::isResizable

◆ mirrorX

std::optional<bool> sgct::config::Window::mirrorX

◆ mirrorY

std::optional<bool> sgct::config::Window::mirrorY

◆ monitor

std::optional<uint8_t> sgct::config::Window::monitor

◆ msaa

std::optional<uint8_t> sgct::config::Window::msaa

◆ name

std::optional<std::string> sgct::config::Window::name

◆ ndi

std::optional<NDI> sgct::config::Window::ndi

◆ noError

std::optional<bool> sgct::config::Window::noError

◆ openxr

std::optional<OpenXR> sgct::config::Window::openxr

◆ pos

std::optional<ivec2> sgct::config::Window::pos

◆ resolution

std::optional<ivec2> sgct::config::Window::resolution

◆ scalable

std::optional<Scalable> sgct::config::Window::scalable

◆ shouldAutoiconify

std::optional<bool> sgct::config::Window::shouldAutoiconify

◆ size

std::optional<ivec2> sgct::config::Window::size

◆ spout

std::optional<Spout> sgct::config::Window::spout

◆ stereo

std::optional<StereoMode> sgct::config::Window::stereo

◆ tags

std::vector<std::string> sgct::config::Window::tags

◆ takeScreenshot

std::optional<bool> sgct::config::Window::takeScreenshot

◆ useFxaa

std::optional<bool> sgct::config::Window::useFxaa

◆ viewports

std::vector<Viewport> sgct::config::Window::viewports

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