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 <openglutils.h>

Public Member Functions

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

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: