dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
ShaderProgram.setParameter
Dgame
Graphic
ShaderProgram
ShaderProgram
Bind a Color4b to a specific variable name of the Shaders
bool
setParameter
(
string
name
,
const
float
[]
values
...)
bool
setParameter
(
string
name
,
const
Vector2f
vec
)
bool
setParameter
(
string
name
,
const
Vector3f
vec
)
bool
setParameter
(
string
name
,
const
Color4b
color
)
struct
ShaderProgram
@
nogc
bool
setParameter
const nothrow
(
string
name
,
const
Color4b
color
)
bool
setParameter
(
string
name
,
ref
const
Matrix4x4
mat
)
Meta
Source
See Implementation
Dgame
Graphic
ShaderProgram
ShaderProgram
constructors
this
destructors
~this
functions
bind
link
setParameter
unbind
postblits
this(this)
properties
ID
Bind a Color4b to a specific variable name of the Shaders