List of usage examples for org.lwjgl.opengl GL11 glTexParameterfv
public static void glTexParameterfv(@NativeType("GLenum") int target, @NativeType("GLenum") int pname, @NativeType("GLfloat const *") float[] params)
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; }