Glsl_uniformi - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Overloads
Description
Modifies the uniform integer variable at the given location.
Parameters
| Parameter | Data Type | Description |
|---|---|---|
| location | integer | location of the uniform integer variable |
| v0 - v3 | integer | values to give the uniform integer variable |
Return Values
void: This function does not return anything.
Example Call
// demonstrates setting uniform integer variables
glsl_uniformi(subframesloc, 32);
glsl_uniformi(lightsloc, 32, 16);
NOTOC