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

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

#include <modules/opengl/openglutils.h>

Public Member Functions

 ClearDepth (ClearDepth &&rhs)=default
 ClearDepth (ClearDepth const &)=delete
 ClearDepth (float depth)
ClearDepth & operator= (ClearDepth &&that)=default
ClearDepth & operator= (ClearDepth const &that)=delete

Protected Attributes

MoveOnlyValue< float > oldDepth_

Detailed Description

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

See also
glClearDepth

The documentation for this struct was generated from the following file:
  • modules/opengl/include/modules/opengl/openglutils.h