List of usage examples for org.lwjgl.opengl GL33 glBindSampler
public static void glBindSampler(@NativeType("GLuint") int unit, @NativeType("GLuint") int sampler)
From source file:com.badlogic.gdx.backends.jglfw.JglfwGL30.java
License:Apache License
@Override public void glBindSampler(int unit, int sampler) { GL33.glBindSampler(unit, sampler); }
From source file:io.root.gfx.glutils.GL.java
License:Apache License
public static void glBindSampler(int unit, int sampler) { GL33.glBindSampler(unit, sampler); }
From source file:net.betabears.the2dlibrary.graphics.Image.java
/** * Binds this image and prepares rendering. Make sure to call * glEnable(GL_TEXTURE_2D) before./*from w ww. j av a2s . c o m*/ */ public void bind() { GL13.glActiveTexture(GL13.GL_TEXTURE0); GL11.glBindTexture(GL11.GL_TEXTURE_2D, id); GL33.glBindSampler(0, samplerID); }
From source file:tk.ivybits.engine.gl.GL.java
License:Open Source License
public static void glBindSampler(int a, int b) { GL33.glBindSampler(a, b); }