dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
ShaderProgram.setParameter
Dgame
Graphic
ShaderProgram
ShaderProgram
Bind a Matrix4x4 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
)
bool
setParameter
(
string
name
,
ref
const
Matrix4x4
mat
)
struct
ShaderProgram
@
nogc
bool
setParameter
const nothrow
(
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 Matrix4x4 to a specific variable name of the Shaders