MCPcopy
hub / github.com/libgdx/libgdx / clear

Method clear

gdx/src/com/badlogic/gdx/utils/ScreenUtils.java:40–42  ·  view source on GitHub ↗

Clears the color buffers with the specified Color. @param color Color to clear the color buffers with.

(Color color)

Source from the content-addressed store, hash-verified

38 /** Clears the color buffers with the specified Color.
39 * @param color Color to clear the color buffers with. */
40 public static void clear (Color color) {
41 clear(color.r, color.g, color.b, color.a, false);
42 }
43
44 /** Clears the color buffers with the specified color. */
45 public static void clear (float r, float g, float b, float a) {

Callers 15

renderMethod · 0.95
renderNormalMethod · 0.95
renderSpritesMethod · 0.95
renderMethod · 0.95
renderMethod · 0.95
renderMethod · 0.95
renderMethod · 0.95
renderMethod · 0.95
renderMethod · 0.95
renderMethod · 0.95
renderMethod · 0.95
renderMethod · 0.95

Calls 3

glClearColorMethod · 0.65
getBufferFormatMethod · 0.65
glClearMethod · 0.65

Tested by 15

renderMethod · 0.76
renderNormalMethod · 0.76
renderSpritesMethod · 0.76
renderMethod · 0.76
renderMethod · 0.76
renderMethod · 0.76
renderMethod · 0.76
renderMethod · 0.76
renderMethod · 0.76
renderMethod · 0.76
renderMethod · 0.76
renderMethod · 0.76