Example usage for org.lwjgl.opengl ARBHalfFloatVertex GL_HALF_FLOAT

List of usage examples for org.lwjgl.opengl ARBHalfFloatVertex GL_HALF_FLOAT

Introduction

In this page you can find the example usage for org.lwjgl.opengl ARBHalfFloatVertex GL_HALF_FLOAT.

Prototype

int GL_HALF_FLOAT

To view the source code for org.lwjgl.opengl ARBHalfFloatVertex GL_HALF_FLOAT.

Click Source Link

Document

Accepted by the type argument of VertexPointer, NormalPointer, ColorPointer, SecondaryColorPointer, FogCoordPointer, TexCoordPointer, and VertexAttribPointer.

Usage

From source file:com.badlogic.gdx.graphics.VertexAttribute.java

License:Apache License

public static VertexAttribute TexCoordsPacked(int unit) { //OSARIS c'est l que t'as boss.
    return new VertexAttribute(Usage.TextureCoordinatesPacked, 2, ARBHalfFloatVertex.GL_HALF_FLOAT, false,
            ShaderProgram.TEXCOORD_ATTRIBUTE + unit, unit);
}