Search
Preparing search index...
The search index is not available
@m0ksem/bronze
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"materials/Material"
Material
Class Material
Hierarchy
Material
Glass
Implements
MaterialInterface
Index
Constructors
constructor
Properties
_object
default
Draw
engine
shader
Program
webgl
Accessors
object
Methods
draw
Object
set
Shader
Program
Constructors
constructor
new
Material
(
engine
:
Engine
, object
:
Entity
)
:
Material
Parameters
engine:
Engine
object:
Entity
Returns
Material
Properties
Private
_object
_object
:
Entity
|
null
default
Draw
default
Draw
:
Function
|
null
= null
Protected
engine
engine
:
Engine
Protected
shader
Program
shader
Program
:
ShaderProgram
|
null
= null
Protected
webgl
webgl
:
WebGLRenderingContext
Accessors
object
get
object
(
)
:
Entity
|
null
set
object
(
v
:
Entity
|
null
)
:
void
Returns
Entity
|
null
Parameters
v:
Entity
|
null
Returns
void
Methods
draw
Object
draw
Object
(
object
:
Entity
)
:
void
Draw object method for this material.
Parameters
object:
Entity
Returns
void
set
Shader
Program
set
Shader
Program
(
shaderProgram
:
ShaderProgram
)
:
void
Adds shader for material.
Parameters
shaderProgram:
ShaderProgram
Returns
void
Globals
"materials/
Material"
Material
constructor
_object
default
Draw
engine
shader
Program
webgl
object
draw
Object
set
Shader
Program
Material
Interface
Generated using
TypeDoc
Draw object method for this material.