Skip to content

WebGLSelfDrawable

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.