Katana Plug-in APIs 0.1
Classes | Enumerations

OpenGL State Helper

Classes

class  Foundry::Katana::ViewerUtils::GLStateRestore
 Provide a RAII mechanism to temporarily change the OpenGL state. More...

Enumerations

enum  Foundry::Katana::ViewerUtils::Bit
enum  Foundry::Katana::ViewerUtils::Binding
 

Bindings to unbind on destruction.



Enumeration Type Documentation

Each client is responsible for setting up their own renderstate before submitting draw jobs. Often a client will need to temporarily change state for their purpose. The purpose of GLStateRestore is to provide a RAII mechanism to do this. The various bits to restore.

See also:
https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glPushAttrib.xml
 All Classes Functions Variables Typedefs Enumerations Enumerator