Class GLObject

RAII OpenGL object template.

Inherits from

  • Object (base class)

Constructors

Name Description
this

Fields

Name Type Description
ID GLuint

Methods

Name Description
bind
unbind

Note

on construction it binds itself to the target, and it binds 0 to target on destruction. All methods (except ctor, dtor, bind(), unbind() and setup()) does not perform binding.

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0