Skip to content

WebGLSelfDrawable

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/WebGLSelfDrawable.js for the most up-to-date information.

Overview

Supertype for WebGL drawables that display a specific Node.

@author Jonathan Olson <jonathan.olson@colorado.edu> @author Sam Reid (PhET Interactive Simulations)

Class WebGLSelfDrawable

import { WebGLSelfDrawable } from 'scenerystack/scenery';

Instance Methods

initialize( renderer, instance )

@public @override

@param {number} renderer @param {Instance} instance @returns {WebGLSelfDrawable}

markTransformDirty()

@public

updateSelfVisibility()

@public @override

dispose()

Releases references @public @override

Source Code

See the source for WebGLSelfDrawable.js in the scenery repository.