Class Index | File Index

Classes


Class createjs.WebGLRenderer.Alpha


Defined in: webgl_renderer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
createjs.WebGLRenderer.Alpha(context, program, key, alpha)
An inner class that encapsulates a composite alpha used by this renderer.
Method Summary
Method Attributes Method Name and Description
 
bindContext(context)
Binds this color to the specified context.
 
setAlpha(alpha)
Changes the alpha value of this color.
Class Detail
createjs.WebGLRenderer.Alpha(context, program, key, alpha)
An inner class that encapsulates a composite alpha used by this renderer. This renderer uses a uniform vector (alpha, alpha, alpha, alpha) so it can pre-multiply this composite alpha to RGB colors.
Parameters:
{createjs.WebGLRenderer.Context} context
{WebGLProgram} program
{string} key
{number} alpha
Method Detail
bindContext(context)
Binds this color to the specified context.
Parameters:
{createjs.WebGLRenderer.Context} context

setAlpha(alpha)
Changes the alpha value of this color.
Parameters:
{number} alpha

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