List of usage examples for com.badlogic.gdx.graphics GL20 interface-usage
From source file com.dragome.gdx.graphics.webgl.DragomeGL20.java
/** Default implementation of {@link GL20} for Dragome applications. Wraps around WebGL. * @author MJ */ public class DragomeGL20 implements GL20 { // Note: look for GdxRuntimeExceptions for missing features that might have to be fixed eventually. private final IntMap<WebGLProgram> programs = new IntMap<WebGLProgram>(); private int nextProgramId = 1;
From source file org.teavm.gdx.graphics.webgl.TeaVMGL20.java
/** Default implementation of {@link GL20} for TeaVM applications. Wraps around WebGL. * @author Alexey Andreev */ public class TeaVMGL20 implements GL20 { // Note: look for GdxRuntimeExceptions for missing features that might have to be fixed eventually. private final Map<Integer, WebGLProgram> programs = new HashMap<>(); private int nextProgramId = 1;
From source file org.teavm.libgdx.TeaVMGL20.java
/** * * @author Alexey Andreev */ public class TeaVMGL20 implements GL20 { private static final Window window = (Window) JS.getGlobal();