RectangleWebGLDrawable¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery/blob/main/js/display/drawables/RectangleWebGLDrawable.js for the most up-to-date information.
Overview¶
WebGL drawable for Rectangle nodes.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RectangleWebGLDrawable¶
Instance Methods¶
initialize( renderer, instance )¶
@param {number} renderer @param {Instance} instance
onAddToBlock( webglBlock )¶
@param {WebGLBlock} webglBlock
onRemoveFromBlock( webglBlock )¶
@param {WebGLBlock} webglBlock
markTransformDirty()¶
update()¶
Updates the DOM appearance of this drawable (whether by preparing/calling draw calls, DOM element updates, etc.) @public @override
@returns {boolean} - Whether the update should continue (if false, further updates in supertype steps should not be done).
Source Code¶
See the source for RectangleWebGLDrawable.js in the scenery repository.