Class Index | File Index

Classes


Class createjs.WebGLRenderer.Shaders


Defined in: webgl_renderer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
createjs.WebGLRenderer.Shaders(context, vertex, fragment)
An inner class that encapsulates a vertex shader and a fragment shader used by this renderer.
Method Summary
Method Attributes Method Name and Description
 
destroy(context)
Deletes the vertex shader and the fragment shader owned by this object.
 
Returns the vertex shader owned by this object.
 
Returns the vertex shader owned by this object.
Class Detail
createjs.WebGLRenderer.Shaders(context, vertex, fragment)
An inner class that encapsulates a vertex shader and a fragment shader used by this renderer.
Parameters:
{createjs.WebGLRenderer.Context} context
{string} vertex
{string} fragment
Method Detail
destroy(context)
Deletes the vertex shader and the fragment shader owned by this object.
Parameters:
{createjs.WebGLRenderer.Context} context

{WebGLShader} getFragment()
Returns the vertex shader owned by this object.
Returns:
{WebGLShader}

{WebGLShader} getVertex()
Returns the vertex shader owned by this object.
Returns:
{WebGLShader}

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