Lines Matching refs:shaderID
205 deUint32 shaderID = context.createProgram(&shader); in render() local
219 shader.setColor(context, shaderID, red); in render()
220 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render()
222 shader.setColor(context, shaderID, green); in render()
223 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render()
227 shader.setColor(context, shaderID, red); in render()
228 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.4f), Vec3(0.0f, 1.0f, -0.4f)); in render()
230 shader.setColor(context, shaderID, green); in render()
231 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.1f), Vec3(0.0f, 1.0f, -0.1f)); in render()
235 shader.setColor(context, shaderID, red); in render()
236 sglr::drawQuad(context, shaderID, Vec3(0.0f, -1.0f, 0.5f), Vec3(1.0f, 0.0f, 0.5f)); in render()
238 shader.setColor(context, shaderID, green); in render()
239 sglr::drawQuad(context, shaderID, Vec3(0.0f, -1.0f, 0.3f), Vec3(1.0f, 0.0f, 0.3f)); in render()
243 shader.setColor(context, shaderID, red); in render()
244 sglr::drawQuad(context, shaderID, Vec3(0.0f, 0.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
246 shader.setColor(context, shaderID, green); in render()
247 sglr::drawQuad(context, shaderID, Vec3(0.0f, 0.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0f)); in render()