Class GLObject
RAII OpenGL object template.
Constructors
| Name | Description |
|---|---|
this
()
|
Fields
| Name | Type | Description |
|---|---|---|
ID
|
GLuint |
Methods
| Name | Description |
|---|---|
bind
()
|
|
fill
(indexes)
|
|
fill
(buffs)
|
|
setSamplerParams
(linear, clamp, mipmap)
|
|
setup
(binding)
|
|
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.