Glsl_uniformf - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Overloads

Description

Gets the uniform location of the given variable in the given shader program and returns the result.

Parameters

Parameter Data Type Description
location integer location of the uniform variable
v0 - v3 float name of the uniform variable

Return Values

void: This function does not return anything.

Example Call

// demonstrates creating a new vertex shader
var loc;
loc = glsl_get_uniform_location(myprog, "UniformVariableName");

NOTOC