bbmod_shader_get_global

function

bbmod_shader_get_global(_name)

Description

Retrieves the value of a global shader uniform.

Arguments

Name Type Description
_name String The name of the uniform.

Returns

Mixed The value of the uniform or undefined if it is not set. The type of the returned value changes based on the type of the uniform.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on June 19, 2022 using GMDoc.