Lines Matching refs:varValue
1700 function uniformf(programObj, varName, varValue) { argument
1704 if (varValue.length === 4) {
1705 curContext.uniform4fv(varLocation, varValue);
1706 } else if (varValue.length === 3) {
1707 curContext.uniform3fv(varLocation, varValue);
1708 } else if (varValue.length === 2) {
1709 curContext.uniform2fv(varLocation, varValue);
1711 curContext.uniform1f(varLocation, varValue);
1716 function uniformi(programObj, varName, varValue) { argument
1720 if (varValue.length === 4) {
1721 curContext.uniform4iv(varLocation, varValue);
1722 } else if (varValue.length === 3) {
1723 curContext.uniform3iv(varLocation, varValue);
1724 } else if (varValue.length === 2) {
1725 curContext.uniform2iv(varLocation, varValue);
1727 curContext.uniform1i(varLocation, varValue);