public void glClearColor (float red, float green, float blue, float alpha) { GL11.glClearColor(red, green, blue, alpha); }
public void glClearColor (float red, float green, float blue, float alpha) { GL11.glClearColor(red, green, blue, alpha); }
public void glClearColor (float red, float green, float blue, float alpha) { GL11.glClearColor(red, green, blue, alpha); }
public void glClearColor (float red, float green, float blue, float alpha) { GL11.glClearColor(red, green, blue, alpha); }
@Override public void glClearColor(final float red, final float green, final float blue, final float alpha) { GL11.glClearColor(red, green, blue, alpha); }
public void glClearColor(float param1, float param2, float param3, float param4) { GL11.glClearColor(param1, param2, param3, param4); }
public void create () { glClearColor(0, 0, 0, 0); glClearDepth(1); glDisable(GL_LIGHTING); batch = new SpriteBatch(); sampleNeheButton.doClick(); }
public void create () { glClearColor(0, 0, 0, 0); glClearDepth(1); glDisable(GL_LIGHTING); batch = new SpriteBatch(); sampleNeheButton.doClick(); }
private void createWindow(Lwjgl3Window window, Lwjgl3ApplicationConfiguration config, long sharedContext) { long windowHandle = createGlfwWindow(config, sharedContext); window.create(windowHandle); window.setVisible(config.initialVisible); for (int i = 0; i < 2; i++) { GL11.glClearColor(config.initialBackgroundColor.r, config.initialBackgroundColor.g, config.initialBackgroundColor.b, config.initialBackgroundColor.a); GL11.glClear(GL11.GL_COLOR_BUFFER_BIT); GLFW.glfwSwapBuffers(windowHandle); } }
private void createWindow(Lwjgl3Window window, Lwjgl3ApplicationConfiguration config, long sharedContext) { long windowHandle = createGlfwWindow(config, sharedContext); window.create(windowHandle); window.setVisible(config.initialVisible); for (int i = 0; i < 2; i++) { GL11.glClearColor(config.initialBackgroundColor.r, config.initialBackgroundColor.g, config.initialBackgroundColor.b, config.initialBackgroundColor.a); GL11.glClear(GL11.GL_COLOR_BUFFER_BIT); GLFW.glfwSwapBuffers(windowHandle); } }
GL11.glClearColor(renderingBackgroundColor.r, renderingBackgroundColor.g, renderingBackgroundColor.b, renderingBackgroundColor.a); GL11.glClear(GL11.GL_COLOR_BUFFER_BIT); } else { GL11.glClearColor(1, 1, 1, 1); GL11.glClear(GL11.GL_COLOR_BUFFER_BIT);
GL11.glClearColor(renderingBackgroundColor.r, renderingBackgroundColor.g, renderingBackgroundColor.b, renderingBackgroundColor.a); GL11.glClear(GL11.GL_COLOR_BUFFER_BIT); } else { GL11.glClearColor(1, 1, 1, 1); GL11.glClear(GL11.GL_COLOR_BUFFER_BIT);
/** * @see org.newdawn.slick.opengl.renderer.SGL#glClearColor(float, float, float, float) */ public void glClearColor(float red, float green, float blue, float alpha) { GL11.glClearColor(red, green, blue, alpha); }
@Override public void glClearColor(float r, float g, float b, float a) { GL11.glClearColor(r, g, b, a); }
@Override public void clear() { log.fine("clear()"); GL11.glClearColor(0.0f, 0.0f, 0.0f, 0.0f); GL11.glClear(GL11.GL_COLOR_BUFFER_BIT); }
@Override public void clear(float red, float green, float blue, float alpha) { GL11.glClearColor(red, green, blue, alpha); GL11.glClear(GL11.GL_COLOR_BUFFER_BIT); }
public void clearScreenDeepOcean() { glClearColor(0.1f,0.125f,0.24f,1.0f); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); } }
public static void clearScreen() { glClearColor(0.0f,0.0f,0.0f,1.0f); glClearDepth(1.0); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); }
public void setBackgroundColor(final ReadOnlyColorRGBA color) { _backgroundColor.set(color); GL11.glClearColor(_backgroundColor.getRed(), _backgroundColor.getGreen(), _backgroundColor.getBlue(), _backgroundColor.getAlpha()); }
private void createWindow(Lwjgl3Window window, Lwjgl3ApplicationConfiguration config, long sharedContext) { long windowHandle = createGlfwWindow(config, sharedContext); window.create(windowHandle); window.setVisible(config.initialVisible); for (int i = 0; i < 2; i++) { GL11.glClearColor(config.initialBackgroundColor.r, config.initialBackgroundColor.g, config.initialBackgroundColor.b, config.initialBackgroundColor.a); GL11.glClear(GL11.GL_COLOR_BUFFER_BIT); GLFW.glfwSwapBuffers(windowHandle); } }