Example usage for org.lwjgl.opengl GL20 glVertexAttrib4Nub

List of usage examples for org.lwjgl.opengl GL20 glVertexAttrib4Nub

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL20 glVertexAttrib4Nub.

Prototype

public static void glVertexAttrib4Nub(@NativeType("GLuint") int index, @NativeType("GLubyte") byte x,
        @NativeType("GLubyte") byte y, @NativeType("GLubyte") byte z, @NativeType("GLubyte") byte w) 

Source Link

Document

Normalized unsigned byte version of #glVertexAttrib4f VertexAttrib4f .

Usage

From source file:net.smert.frameworkgl.opengl.OpenGL2.java

License:Apache License

public void vertexAttrib(int index, byte x, byte y, byte z, byte w) {
    GL20.glVertexAttrib4Nub(index, x, y, z, w);
}

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

License:Open Source License

public static void glVertexAttrib4Nub(int a, byte b, byte c, byte d, byte e) {
    GL20.glVertexAttrib4Nub(a, b, c, d, e);
}