Class createjs.WebGLRenderer.Frame
Defined in: webgl_renderer.js.
Constructor Attributes | Constructor Name and Description |
---|---|
createjs.WebGLRenderer.Frame(context, width, height, mask)
An inner class that encapsulates a frame buffer with an attached texture.
|
Method Attributes | Method Name and Description |
---|---|
destroy(context)
Deletes the resources owned by this frame buffer.
|
|
Returns the frame buffer itself.
|
|
Returns the texture associated with this frame buffer.
|
Class Detail
createjs.WebGLRenderer.Frame(context, width, height, mask)
An inner class that encapsulates a frame buffer with an attached texture.
- Parameters:
- {createjs.WebGLRenderer.Context} context
- {number} width
- {number} height
- {number} mask
Method Detail
destroy(context)
Deletes the resources owned by this frame buffer.
- Parameters:
- {createjs.WebGLRenderer.Context} context
{WebGLFramebuffer}
getBuffer()
Returns the frame buffer itself.
- Returns:
- {WebGLFramebuffer}
{WebGLTexture}
getTexture()
Returns the texture associated with this frame buffer.
- Returns:
- {WebGLTexture}