d2dgame v1.0.0 (2015-04-18T07:56:03Z)
Dub
Repo
ShaderProgram.attach
D2DGame
Rendering
ShaderProgram
ShaderProgram
Attaches a new shader to the program. Will call
shader.compile()
if necessary.
class
ShaderProgram
void
attach
(
Shader
shader
)
Meta
Source
See Implementation
D2DGame
Rendering
ShaderProgram
ShaderProgram
constructors
this
functions
attach
bind
id
link
registerUniform
set
properties
valid
static functions
fromVertexFragmentFiles
load
static variables
defaultShader
Attaches a new shader to the program. Will call shader.compile() if necessary.