List of usage examples for org.lwjgl.opengl GL11 nglTexParameteriv
public static void nglTexParameteriv(int target, int pname, long params)
From source file:com.samrj.devil.gl.Texture.java
License:Open Source License
public final T swizzle(int r, int g, int b, int a) { if (!isBound()) throw new IllegalStateException("Texture must be bound."); long address = MemStack.wrapi(r, g, b, a); GL11.nglTexParameteriv(target, GL33.GL_TEXTURE_SWIZZLE_RGBA, address); MemStack.pop();//from w ww . j a v a 2 s. co m return getThis(); }