GLObject

RAII OpenGL object template. * 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.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

bind
void bind()
Undocumented in source. Be warned that the author may not have intended to support it.
fill
void fill(int[] indexes)
Undocumented in source. Be warned that the author may not have intended to support it.
fill
void fill(float[][] buffs)
Undocumented in source. Be warned that the author may not have intended to support it.
setSamplerParams
void setSamplerParams(bool linear, bool clamp, bool mipmap)
Undocumented in source. Be warned that the author may not have intended to support it.
setup
void setup(GLuint binding)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

unbind
void unbind()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

ID
GLuint ID;
Undocumented in source.

Meta