Lines Matching defs:uniformIndices
314 GLuint uniformIndices[2] = {0};
315 glGetUniformIndices(m_program, 2, uniformNames, uniformIndices);
324 glBindBufferBase(GL_UNIFORM_BUFFER, uniformIndices[ndx], buffers[ndx]);
331 glGetIntegeri_v(GL_UNIFORM_BUFFER_BINDING, uniformIndices[ndx], &boundBuffer);
357 GLuint uniformIndices[2] = {0};
358 glGetUniformIndices(m_program, 2, uniformNames, uniformIndices);
375 glBindBufferBase(GL_UNIFORM_BUFFER, uniformIndices[0], buffers[0]);
380 glBindBufferRange(GL_UNIFORM_BUFFER, uniformIndices[1], buffers[1], rangeBufferOffset, rangeBufferSize);
392 { uniformIndices[0], GL_UNIFORM_BUFFER_START, 0 },
393 { uniformIndices[0], GL_UNIFORM_BUFFER_SIZE, 0 },
394 { uniformIndices[1], GL_UNIFORM_BUFFER_START, rangeBufferOffset },
395 { uniformIndices[1], GL_UNIFORM_BUFFER_SIZE, rangeBufferSize }