Example usage for org.lwjgl.opengl GL13 glCompressedTexImage3D

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

Introduction

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

Prototype

public static void glCompressedTexImage3D(@NativeType("GLenum") int target, @NativeType("GLint") int level,
        @NativeType("GLenum") int internalformat, @NativeType("GLsizei") int width,
        @NativeType("GLsizei") int height, @NativeType("GLsizei") int depth, @NativeType("GLint") int border,
        @Nullable @NativeType("void const *") ByteBuffer data) 

Source Link

Document

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

Usage

From source file:ar.com.quark.backend.lwjgl.opengl.DesktopGLES30.java

License:Apache License

/**
 * {@inheritDoc}/*from  ww w . ja  v  a  2 s  .c o m*/
 */
@Override
public void glCompressedTexImage3D(int target, int level, int internal, int width, int height, int depth,
        int border, Int8Array data) {
    GL13.glCompressedTexImage3D(target, level, internal, width, height, depth, border, data.data());
}

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

License:Open Source License

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