Lines Matching refs:m_inputs
313 m_inputs.resize(samplerTypes.vec.size()); in Texture2DShader()
316 for (int ndx = 0; ndx < (int)m_inputs.size(); ndx++) in Texture2DShader()
318 m_inputs[ndx].unitNdx = ndx; in Texture2DShader()
319 m_inputs[ndx].scale = Vec4(1.0f); in Texture2DShader()
320 m_inputs[ndx].bias = Vec4(0.0f); in Texture2DShader()
326 m_inputs[inputNdx].unitNdx = unitNdx; in setUnit()
331 m_inputs[inputNdx].scale = scale; in setTexScaleBias()
332 m_inputs[inputNdx].bias = bias; in setTexScaleBias()
345 for (int texNdx = 0; texNdx < (int)m_inputs.size(); texNdx++) in setUniforms()
351 gl.uniform1i(gl.getUniformLocation(program, samplerName.c_str()), m_inputs[texNdx].unitNdx); in setUniforms()
352 …gl.uniform4fv(gl.getUniformLocation(program, scaleName.c_str()), 1, m_inputs[texNdx].scale.getPtr(… in setUniforms()
353 …gl.uniform4fv(gl.getUniformLocation(program, biasName.c_str()), 1, m_inputs[texNdx].bias.getPtr()); in setUniforms()
393 for (int ndx = 0; ndx < (int)m_inputs.size(); ndx++) in shadeFragments()