Inviwo  0.9.10.1
Inviwo documentation
inviwo::utilgl::ClearColor Struct Reference

RAII object for OpenGL clear color used when calling glClear(GL_COLOR_BUFFER_BIT) More...

#include <openglutils.h>

Public Member Functions

 ClearColor (ClearColor const &)=delete
 
ClearColoroperator= (ClearColor const &that)=delete
 
 ClearColor (vec4 color)
 
 ClearColor (ClearColor &&rhs)
 
ClearColoroperator= (ClearColor &&that)
 

Protected Attributes

vec4 color_
 
vec4 oldColor_
 

Detailed Description

RAII object for OpenGL clear color used when calling glClear(GL_COLOR_BUFFER_BIT)

RAII object for OpenGL viewports.

RAII object for OpenGL clear depth used when calling glClear(GL_DEPTH_BUFFER_BIT)

See also
glClearColor
glClearDepth
glViewport

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