Lines Matching defs:uniformIndices
398 GLuint uniformIndices[2] = {0};
399 glGetUniformIndices(m_program, 2, uniformNames, uniformIndices);
408 glBindBufferBase(GL_UNIFORM_BUFFER, uniformIndices[ndx], buffers[ndx]);
415 glGetIntegeri_v(GL_UNIFORM_BUFFER_BINDING, uniformIndices[ndx], &boundBuffer);
441 GLuint uniformIndices[2] = {0};
442 glGetUniformIndices(m_program, 2, uniformNames, uniformIndices);
459 glBindBufferBase(GL_UNIFORM_BUFFER, uniformIndices[0], buffers[0]);
464 glBindBufferRange(GL_UNIFORM_BUFFER, uniformIndices[1], buffers[1], rangeBufferOffset, rangeBufferSize);
476 { uniformIndices[0], GL_UNIFORM_BUFFER_START, 0 },
477 { uniformIndices[0], GL_UNIFORM_BUFFER_SIZE, 0 },
478 { uniformIndices[1], GL_UNIFORM_BUFFER_START, rangeBufferOffset },
479 { uniformIndices[1], GL_UNIFORM_BUFFER_SIZE, rangeBufferSize }