Function bgfx_rs::static_lib::create_uniform
source · pub fn create_uniform(name: &str, type_r: UniformType, num: u16) -> Uniform
Expand description
name
: Uniform name in shader.type_r
: Type of uniform (See:bgfx::UniformType
).num
: Number of elements in array.