Class enchant.gl.Framebuffer
- Defined in: gl.enchant.js
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.gl.Framebuffer(width, height)
Class for controlling WebGL frame buffers
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
bind()
Bind frame buffer.
|
|
destroy()
Destroy object.
|
|
unbind()
Unbind frame buffer.
|
Class Detail
enchant.gl.Framebuffer(width, height)
Class for controlling WebGL frame buffers
- Parameters:
- {String} width
- Frame buffer width
- {String} height
- Frame buffer height
Method Detail
-
bind()Bind frame buffer.
-
destroy()Destroy object.
-
unbind()Unbind frame buffer.