Searched refs:mVertexColors (Results 1 – 2 of 2) sorted by relevance
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
D | PhaseBeamRS.java | 51 private ScriptField_VertexColor_s mVertexColors; field in PhaseBeamRS 157 mVertexColors = new ScriptField_VertexColor_s(mRS, meshDataSize); in createBackgroundMesh() 166 mVertexColors.set_position(i, new Float3(xPos, yPos, 0.0f), false); in createBackgroundMesh() 167 mVertexColors.set_color(i, new Float4(red, green, blue, 1.0f), false); in createBackgroundMesh() 169 mVertexColors.copyAll(); in createBackgroundMesh() 173 backgroundBuilder.addVertexAllocation(mVertexColors.getAllocation()); in createBackgroundMesh() 175 mScript.bind_vertexColors(mVertexColors); in createBackgroundMesh()
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
D | NoiseFieldRS.java | 46 private ScriptField_VertexColor_s mVertexColors; field in NoiseFieldRS 142 mVertexColors = new ScriptField_VertexColor_s(mRS, meshDataSize); in createBackgroundMesh() 151 mVertexColors.set_position(i, new Float3(xPos, yPos, 0.0f), false); in createBackgroundMesh() 152 mVertexColors.set_color(i, new Float4(red, green, blue, 1.0f), false); in createBackgroundMesh() 154 mVertexColors.copyAll(); in createBackgroundMesh() 158 backgroundBuilder.addVertexAllocation(mVertexColors.getAllocation()); in createBackgroundMesh() 160 mScript.bind_vertexColors(mVertexColors); in createBackgroundMesh()
|