Class Index | File Index

Classes


Class createjs.WebGLRenderer.Color


Defined in: webgl_renderer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
createjs.WebGLRenderer.Color(context, program, key, red, green, blue)
An inner class that encapsulates a color offset used by a color-matrix filter.
Method Summary
Method Attributes Method Name and Description
 
bindContext(context)
Binds this color to the specified context.
 
set(red, green, blue)
Changes this color.
Class Detail
createjs.WebGLRenderer.Color(context, program, key, red, green, blue)
An inner class that encapsulates a color offset used by a color-matrix filter. This renderer uses a uniform vector (red, green, blue, 0) to represent a color.
Parameters:
{createjs.WebGLRenderer.Context} context
{WebGLProgram} program
{string} key
{number} red
{number} green
{number} blue
Method Detail
bindContext(context)
Binds this color to the specified context.
Parameters:
{createjs.WebGLRenderer.Context} context

set(red, green, blue)
Changes this color.
Parameters:
{number} red
{number} green
{number} blue

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 04 2016 17:11:29 GMT+0900 (JST)