List of usage examples for org.lwjgl.opengl GL20 glUniformMatrix2fv
public static void glUniformMatrix2fv(@NativeType("GLint") int location, @NativeType("GLboolean") boolean transpose, @NativeType("GLfloat const *") float[] value)
From source file:com.badlogic.gdx.backends.jglfw.JglfwGL20.java
License:Apache License
public void glUniformMatrix2fv(int location, int count, boolean transpose, FloatBuffer value) { GL20.glUniformMatrix2fv(location, transpose, value); }
From source file:com.badlogic.gdx.backends.lwjgl3.Lwjgl3GL20.java
License:Apache License
public void glUniformMatrix2fv(int location, int count, boolean transpose, float[] value, int offset) { GL20.glUniformMatrix2fv(location, transpose, toFloatBuffer(value, offset, count << 2)); }
From source file:net.smert.frameworkgl.opengl.helpers.ShaderUniformHelper.java
License:Apache License
public void setUniformMatrix2(int uniformID, boolean transpose, FloatBuffer matrix) { GL20.glUniformMatrix2fv(uniformID, transpose, matrix); }