Example usage for org.lwjgl.opengl GL11 glPolygonOffset

List of usage examples for org.lwjgl.opengl GL11 glPolygonOffset

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL11 glPolygonOffset.

Prototype

public static void glPolygonOffset(@NativeType("GLfloat") float factor, @NativeType("GLfloat") float units) 

Source Link

Document

The depth values of all fragments generated by the rasterization of a polygon may be offset by a single value that is computed for that polygon.

Usage

From source file:org.oscim.gdx.LwjglGL20.java

License:Apache License

public void polygonOffset(float factor, float units) {
    GL11.glPolygonOffset(factor, units);
}

From source file:playn.java.JavaGL20.java

License:Apache License

@Override
public void glPolygonOffset(float factor, float units) {
    GL11.glPolygonOffset(factor, units);
}

From source file:processing.opengl.PLWJGL.java

License:Open Source License

@Override
public void polygonOffset(float factor, float units) {
    GL11.glPolygonOffset(factor, units);
}

From source file:tk.ivybits.engine.gl.GL.java

License:Open Source License

public static void glPolygonOffset(float a, float b) {
    GL11.glPolygonOffset(a, b);
}