Searched refs:mVertexColors (Results 1 - 2 of 2) sorted by relevance

/packages/wallpapers/NoiseField/src/com/android/noisefield/
H A DNoiseFieldRS.java46 private ScriptField_VertexColor_s mVertexColors; field in class:NoiseFieldRS
142 mVertexColors = new ScriptField_VertexColor_s(mRS, meshDataSize);
151 mVertexColors.set_position(i, new Float3(xPos, yPos, 0.0f), false);
152 mVertexColors.set_color(i, new Float4(red, green, blue, 1.0f), false);
154 mVertexColors.copyAll();
158 backgroundBuilder.addVertexAllocation(mVertexColors.getAllocation());
160 mScript.bind_vertexColors(mVertexColors);
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
H A DPhaseBeamRS.java51 private ScriptField_VertexColor_s mVertexColors; field in class:PhaseBeamRS
157 mVertexColors = new ScriptField_VertexColor_s(mRS, meshDataSize);
166 mVertexColors.set_position(i, new Float3(xPos, yPos, 0.0f), false);
167 mVertexColors.set_color(i, new Float4(red, green, blue, 1.0f), false);
169 mVertexColors.copyAll();
173 backgroundBuilder.addVertexAllocation(mVertexColors.getAllocation());
175 mScript.bind_vertexColors(mVertexColors);

Completed in 9 milliseconds