set_uniform_i2

function

set_uniform_i2(_handle, _val1, _val2)

Description

Sets an ivec2 uniform.

Arguments

Name Type Description
_handle Id.Uniform The handle of the shader uniform.
_val1 Real The first vector component.
_val2 Real The second vector component.

Returns

Struct.BBMOD_Shader Returns self.

See also

BBMOD_Shader.get_uniform

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.