Constructs a new Material2, defaulting to a white textureless line loop
Controls the color of the material (defaults to white)
Controls the draw mode of the material (one of gl.POINTS, gl.LINES, gl.LINE_STRIP, gl.LINE_LOOP, gl.TRIANGLES, gl.TRIANGLE_STRIP, gl.TRIANGLE_FAN)
Controls the texture of the material. Can be null, meaning no texture.
Controls the visibility of the material (false = hidden)
StaticshaderShaders to use for all materials
Represents a Material for use in 2D graphics
Export
Material2