d2dgame v2.0.3 (2016-04-16T08:21:01Z)
Dub
Repo
ShaderProgram.attach
d2d
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
d2d
rendering
shaderprogram
ShaderProgram
constructors
this
functions
attach
bind
id
link
opIndexAssign
registerUniform
set
properties
valid
static functions
fromVertexFragmentFiles
load
static variables
defaultShader
Attaches a new shader to the program. Will call shader.compile() if necessary.