Geometry

Lore. Geometry

A class representing a geometry.

Constructor

new Geometry()

Source:
Properties:
Name Type Attributes Default Description
type String

The type name of this object (Lore.Geometry).

name String

The name of this geometry.

gl WebGLRenderingContext

A WebGL rendering context.

shader Lore.Shader

An initialized shader.

attributes Object

A map mapping attribute names to Lore.Attrubute objects.

drawMode Lore.DrawMode <optional>
gl.POINTS

The current draw mode of this geometry.

isVisisble Boolean

A boolean indicating whether or not this geometry is currently visible.