Lines Matching refs:m_shaders
334 m_shaders[shaderType].reserve(m_shaders[shaderType].size() + 1);
336 m_shaders[shaderType].push_back(new Shader(gl, ShaderType(shaderType)));
337 m_shaders[shaderType].back()->setSources(1, &source, &length);
338 m_shaders[shaderType].back()->compile();
340 shadersOk = shadersOk && m_shaders[shaderType].back()->getCompileStatus();
347 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx)
348 m_program.attachShader(m_shaders[shaderType][shaderNdx]->getShader());
372 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx)
373 delete m_shaders[shaderType][shaderNdx];
381 for (int shaderNdx = 0; shaderNdx < (int)m_shaders[shaderType].size(); ++shaderNdx)
382 delete m_shaders[shaderType][shaderNdx];