Example usage for org.lwjgl.opengl GL13 glCompressedTexImage2D

List of usage examples for org.lwjgl.opengl GL13 glCompressedTexImage2D

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL13 glCompressedTexImage2D.

Prototype

public static void glCompressedTexImage2D(@NativeType("GLenum") int target, @NativeType("GLint") int level,
        @NativeType("GLenum") int internalformat, @NativeType("GLsizei") int width,
        @NativeType("GLsizei") int height, @NativeType("GLint") int border,
        @NativeType("GLsizei") int imageSize, @Nullable @NativeType("void const *") long data) 

Source Link

Document

Specifies a two-dimensional texture image in a compressed format.

Usage

From source file:com.badlogic.gdx.backends.jglfw.JglfwGL20.java

License:Apache License

public void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border,
        int imageSize, Buffer data) {
    GL13.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize,
            (ByteBuffer) data);/*from w  w  w.j  av  a 2  s  .  c o  m*/
}

From source file:playn.java.JavaGL20.java

License:Apache License

@Override
public void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border,
        int data_imageSize, int data) {
    GL13.glCompressedTexImage2D(target, level, internalformat, width, height, border, data_imageSize, data);
}

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

License:Open Source License

public static void glCompressedTexImage2D(int a, int b, int c, int d, int e, int f, int g, long h) {
    GL13.glCompressedTexImage2D(a, b, c, d, e, f, g, h);
}