Example usage for org.lwjgl.opengl GL11 glTexParameteriv

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

Introduction

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

Prototype

public static void glTexParameteriv(@NativeType("GLenum") int target, @NativeType("GLenum") int pname,
        @NativeType("GLint const *") int[] params) 

Source Link

Document

Array version of: #glTexParameteriv TexParameteriv

Usage

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

License:Apache License

public void glTexParameteriv(int target, int pname, IntBuffer params) {
    GL11.glTexParameteriv(target, pname, params);
}

From source file:com.google.gapid.glviewer.gl.Texture.java

License:Apache License

public Texture setSwizzle(int r, int g, int b, int a) {
    bind();//  www. j  av  a2  s . c o m
    GL11.glTexParameteriv(target, GL33.GL_TEXTURE_SWIZZLE_RGBA, new int[] { r, g, b, a });
    return this;
}