des ~master (2015-04-07T23:17:11Z)
Dub
Repo
CommonGLShaderProgram.setTexture
des
gl
shader
CommonGLShaderProgram
set uniform and bind texture
void
setTexture
(
int
loc
,
GLTexture
tex
)
class
CommonGLShaderProgram
void
setTexture
(
int
loc
,
GLTexture
tex
)
in { assert (tex !is null); }
void
setTexture
(
string
name
,
GLTexture
tex
)
Meta
Source
See Implementation
des
gl
shader
CommonGLShaderProgram
constructors
this
functions
getAttribLocation
getAttribLocations
getUniformLocation
setTexture
setUniform
set uniform and bind texture