Home | History | Annotate | Download | only in libGLESv2

Lines Matching refs:Elements

1677             for (unsigned int arrayIndex = 0; arrayIndex < constantDescription.Elements; arrayIndex++)
1688 std::string structIndex = (constantDescription.Elements > 1) ? ("[" + str(arrayIndex) + "]") : "";
1757 case 1: return new Uniform(GL_SAMPLER_2D, name, constantDescription.Elements);
1764 case 1: return new Uniform(GL_SAMPLER_CUBE, name, constantDescription.Elements);
1771 case 1: return new Uniform(GL_BOOL, name, constantDescription.Elements);
1772 case 2: return new Uniform(GL_BOOL_VEC2, name, constantDescription.Elements);
1773 case 3: return new Uniform(GL_BOOL_VEC3, name, constantDescription.Elements);
1774 case 4: return new Uniform(GL_BOOL_VEC4, name, constantDescription.Elements);
1781 case 1: return new Uniform(GL_INT, name, constantDescription.Elements);
1782 case 2: return new Uniform(GL_INT_VEC2, name, constantDescription.Elements);
1783 case 3: return new Uniform(GL_INT_VEC3, name, constantDescription.Elements);
1784 case 4: return new Uniform(GL_INT_VEC4, name, constantDescription.Elements);
1791 case 1: return new Uniform(GL_FLOAT, name, constantDescription.Elements);
1792 case 2: return new Uniform(GL_FLOAT_VEC2, name, constantDescription.Elements);
1793 case 3: return new Uniform(GL_FLOAT_VEC3, name, constantDescription.Elements);
1794 case 4: return new Uniform(GL_FLOAT_VEC4, name, constantDescription.Elements);
1809 case 2: return new Uniform(GL_FLOAT_MAT2, name, constantDescription.Elements);
1810 case 3: return new Uniform(GL_FLOAT_MAT3, name, constantDescription.Elements);
1811 case 4: return new Uniform(GL_FLOAT_MAT4, name, constantDescription.Elements);