Example usage for org.lwjgl.opengl GL11 glPixelTransferi

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

Introduction

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

Prototype

public static native void glPixelTransferi(@NativeType("GLenum") int pname, @NativeType("GLint") int param);

Source Link

Document

Sets the integer value of a pixel transfer parameter.

Usage

From source file:jpcsp.graphics.RE.RenderingEngineLwjgl.java

License:Open Source License

@Override
public void setPixelTransfer(int parameter, int value) {
    GL11.glPixelTransferi(pixelTransferToGL[parameter], value);
}

From source file:jpcsp.graphics.RE.RenderingEngineLwjgl.java

License:Open Source License

@Override
public void setPixelTransfer(int parameter, boolean value) {
    GL11.glPixelTransferi(pixelTransferToGL[parameter], value ? GL11.GL_TRUE : GL11.GL_FALSE);
}

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

License:Open Source License

public static void glPixelTransferi(int a, int b) {
    GL11.glPixelTransferi(a, b);
}