Example usage for com.badlogic.gdx.graphics GL20 GL_FLOAT

List of usage examples for com.badlogic.gdx.graphics GL20 GL_FLOAT

Introduction

In this page you can find the example usage for com.badlogic.gdx.graphics GL20 GL_FLOAT.

Prototype

int GL_FLOAT

To view the source code for com.badlogic.gdx.graphics GL20 GL_FLOAT.

Click Source Link

Usage

From source file:com.watabou.glwrap.Attribute.java

License:Open Source License

public void vertexPointer(int size, int stride, FloatBuffer ptr) {
    Gdx.gl.glVertexAttribPointer(location, size, GL20.GL_FLOAT, false, stride * Float.SIZE / 8, ptr);
}