List of usage examples for org.lwjgl.opengl GL11 glGetIntegerv
public static void glGetIntegerv(@NativeType("GLenum") int pname, @NativeType("GLint *") int[] params)
From source file:com.badlogic.gdx.backends.jglfw.JglfwGL20.java
License:Apache License
public void glGetIntegerv(int pname, IntBuffer params) { GL11.glGetIntegerv(pname, params); }
From source file:com.grillecube.client.opengl.GLH.java
public static int glhGetBinding(int binding) { IntBuffer buffer = BufferUtils.createIntBuffer(1); GL11.glGetIntegerv(binding, buffer); return (buffer.get()); }
From source file:net.smert.frameworkgl.opengl.OpenGL1.java
License:Apache License
public void getViewportDimensions(IntBuffer viewportBuffer) { GL11.glGetIntegerv(GL11.GL_VIEWPORT, viewportBuffer); viewportX = viewportBuffer.get(viewportBuffer.position() + 0); viewportY = viewportBuffer.get(viewportBuffer.position() + 1); viewportWidth = viewportBuffer.get(viewportBuffer.position() + 2); viewportHeight = viewportBuffer.get(viewportBuffer.position() + 3); }