Example usage for org.lwjgl.opengl GL11 glTexParameterfv

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

Introduction

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

Prototype

public static void glTexParameterfv(@NativeType("GLenum") int target, @NativeType("GLenum") int pname,
        @NativeType("GLfloat const *") float[] params) 

Source Link

Document

Array version of: #glTexParameterfv TexParameterfv

Usage

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

License:Apache License

public void glTexParameterfv(int target, int pname, FloatBuffer params) {
    GL11.glTexParameterfv(target, pname, params);
}

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

License:Apache License

public Texture setBorderColor(Color color) {
    bind();/*  w w  w.  j  a  va 2  s.c  om*/
    GL11.glTexParameterfv(target, GL11.GL_TEXTURE_BORDER_COLOR, new float[] { color.getRed() / 255.f,
            color.getGreen() / 255.f, color.getBlue() / 255.f, color.getAlpha() / 255.f, });
    return this;
}