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

Any 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 © 2023, BlueBurn. Built on March 24, 2023 using GMDoc.