Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::utilgl::ClearColor Struct Reference

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

#include <modules/opengl/openglutils.h>

Public Member Functions

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

Protected Attributes

MoveOnlyValue< vec4 > oldColor_
 

Detailed Description

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

See also
glClearColor

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