reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofGLFWWindowSettings Class Reference

#include <ofAppGLFWWindow.h>

Inheritance diagram for ofGLFWWindowSettings:
ofGLWindowSettings ofWindowSettings

Public Member Functions

 ofGLFWWindowSettings ()
 
 ofGLFWWindowSettings (const ofGLWindowSettings &settings)
 
- Public Member Functions inherited from ofGLWindowSettings
 ofGLWindowSettings ()
 
 ofGLWindowSettings (const ofWindowSettings &settings)
 
virtual ~ofGLWindowSettings ()
 
void setGLVersion (int major, int minor)
 
- Public Member Functions inherited from ofWindowSettings
 ofWindowSettings ()
 
virtual ~ofWindowSettings ()
 
void setPosition (const glm::vec2 &position)
 
void setSize (int width, int height)
 
bool isSizeSet () const
 
int getWidth () const
 
int getHeight () const
 
const glm::vec2 & getPosition () const
 
bool isPositionSet () const
 

Public Attributes

int numSamples = 4
 
bool doubleBuffering = true
 
int redBits = 8
 
int greenBits = 8
 
int blueBits = 8
 
int alphaBits = 8
 
int depthBits = 24
 
int stencilBits = 0
 
bool stereo = false
 
bool visible = true
 
bool iconified = false
 
bool decorated = true
 
bool resizable = true
 
bool transparent = false
 
int monitor = 0
 
bool multiMonitorFullScreen = false
 
std::shared_ptr< ofAppBaseWindowshareContextWith
 
- Public Attributes inherited from ofGLWindowSettings
int glVersionMajor
 
int glVersionMinor
 
- Public Attributes inherited from ofWindowSettings
std::string title
 
ofWindowMode windowMode
 

Additional Inherited Members

- Protected Attributes inherited from ofWindowSettings
int width
 
int height
 
bool sizeSet
 
glm::vec2 position
 
bool positionSet
 

Constructor & Destructor Documentation

◆ ofGLFWWindowSettings() [1/2]

ofGLFWWindowSettings::ofGLFWWindowSettings ( )
inline

◆ ofGLFWWindowSettings() [2/2]

ofGLFWWindowSettings::ofGLFWWindowSettings ( const ofGLWindowSettings settings)
inline

Member Data Documentation

◆ alphaBits

int ofGLFWWindowSettings::alphaBits = 8

◆ blueBits

int ofGLFWWindowSettings::blueBits = 8

◆ decorated

bool ofGLFWWindowSettings::decorated = true

◆ depthBits

int ofGLFWWindowSettings::depthBits = 24

◆ doubleBuffering

bool ofGLFWWindowSettings::doubleBuffering = true

◆ greenBits

int ofGLFWWindowSettings::greenBits = 8

◆ iconified

bool ofGLFWWindowSettings::iconified = false

◆ monitor

int ofGLFWWindowSettings::monitor = 0

◆ multiMonitorFullScreen

bool ofGLFWWindowSettings::multiMonitorFullScreen = false

◆ numSamples

int ofGLFWWindowSettings::numSamples = 4

◆ redBits

int ofGLFWWindowSettings::redBits = 8

◆ resizable

bool ofGLFWWindowSettings::resizable = true

◆ shareContextWith

std::shared_ptr<ofAppBaseWindow> ofGLFWWindowSettings::shareContextWith

◆ stencilBits

int ofGLFWWindowSettings::stencilBits = 0

◆ stereo

bool ofGLFWWindowSettings::stereo = false

◆ transparent

bool ofGLFWWindowSettings::transparent = false

◆ visible

bool ofGLFWWindowSettings::visible = true

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