dgame ~master (2021-12-24T16:32:58.6490046)
Dub
Repo
ShaderProgram.setParameter
Dgame
Graphic
ShaderProgram
ShaderProgram
Bind a Matrix4x4 to a specific variable name of the Shaders
bool
setParameter
(string name, float[] values)
bool
setParameter
(string name, Vector2f vec)
bool
setParameter
(string name, Vector3f vec)
bool
setParameter
(string name, Color4b color)
bool
setParameter
(string name, Matrix4x4 mat)
struct
ShaderProgram
@
nogc
const nothrow
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 Matrix4x4 to a specific variable name of the Shaders