Options
All
  • Public
  • Public/Protected
  • All
Menu

Base class for materials which will attached to objects.

param
param

Hierarchy

Implements

Index

Constructors

constructor

Properties

defaultDraw

defaultDraw: Function | null = null

Protected engine

engine: Engine

Protected shaderProgram

shaderProgram: ShaderProgram | null = null

Protected webgl

webgl: WebGLRenderingContext

Accessors

object

  • get object(): Entity | null
  • set object(v: Entity | null): void

Methods

drawObject

  • drawObject(object: Entity): void

setShaderProgram

Generated using TypeDoc