Class: WebGlRenderState

WebGlRenderState

new WebGlRenderState()

A data structure which contains all render state attributes that can be set in VVVV.js This is the data object which flows between WebGlRenderState pins

Source:

Members

alphaBlending

Source:

depthFunc

Source:

depthOffset

Source:

destBlendMode

Source:

enableZWrite

Source:

polygonDrawMode

Source:

srcBlendMode

Source:

Methods

apply(gl)

makes the WebGL calls to establish the render state

Parameters:
Name Type Description
gl WebGlContext

the WebGL context

Source:

copy_attributes(other)

Used to create a copy of a WebGlRenderState object. Heavily used by the (EX9.RenderState) nodes to create altered versions of the incoming render state

Parameters:
Name Type Description
other VVVV.Types.WebGlRenderState

the source render state

Source:
VVVV.js Copyright © 2012-2013 The contributors to the VVVV.js project.
Documentation generated by JSDoc 3.3.0-alpha4 on Thu May 08 2014 13:12:35 GMT+0200 (Mitteleuropäische Sommerzeit) using the DocStrap template.