Example usage for org.lwjgl.opengl GL33 glGenSamplers

List of usage examples for org.lwjgl.opengl GL33 glGenSamplers

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL33 glGenSamplers.

Prototype

@NativeType("void")
public static int glGenSamplers() 

Source Link

Document

Generates sampler object names.

Usage

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

License:Apache License

@Override
public void glGenSamplers(int count, int[] samplers, int offset) {
    for (int i = offset; i < offset + count; i++) {
        samplers[i] = GL33.glGenSamplers();
    }/* ww  w .j a  v a 2  s  .c o  m*/
}

From source file:io.root.gfx.glutils.GL.java

License:Apache License

public static void glGenSamplers(int count, int[] samplers, int offset) {
    for (int i = offset; i < offset + count; i++) {
        samplers[i] = GL33.glGenSamplers();
    }//from w  w  w .ja  v  a  2 s  .com
}

From source file:tk.ivybits.engine.gl.GL.java

License:Open Source License

public static int glGenSamplers() {
    return GL33.glGenSamplers();
}