Maven module :un.engine : engine-opengl-util :
Class :
un.impl.opengl.shader.Uniform
Extends/Implements : -
Subclasses : -
Variables :
TYPE_BOOL,
TYPE_INT,
TYPE_FLOAT,
TYPE_DOUBLE,
TYPE_VEC2,
TYPE_VEC3,
TYPE_VEC4,
TYPE_MAT3,
TYPE_MAT4,
TYPE_SAMPLER2D,
TYPE_SAMPLER2DMS,
TYPE_SAMPLERCUBE,
TYPE_ISAMPLERBUFFER,
TYPE_SAMPLERBUFFER,
TYPE_ISAMPLER2D,
TYPE_USAMPLER2D
Functions :
Uniform,
exist,
getProgramId,
getGpuId,
getType,
setInt,
setFloat,
setVec2,
setVec3,
setVec4,
setMat3,
setMat4
public int
TYPE_BOOL
public int
TYPE_INT
public int
TYPE_FLOAT
public int
TYPE_DOUBLE
public int
TYPE_VEC2
public int
TYPE_VEC3
public int
TYPE_VEC4
public int
TYPE_MAT3
public int
TYPE_MAT4
public int
TYPE_SAMPLER2D
public int
TYPE_SAMPLER2DMS
public int
TYPE_SAMPLERCUBE
public int
TYPE_ISAMPLERBUFFER
public int
TYPE_SAMPLERBUFFER
public int
TYPE_ISAMPLER2D
public int
TYPE_USAMPLER2D
public void
Uniform (int programId, int gpuId, int type)
public boolean
exist ()
public int
getProgramId ()
public int
getGpuId ()
public int
getType ()
public void
setInt (GL2ES2 gl, int value)
public void
setFloat (GL2ES2 gl, float value)
public void
setVec2 (GL2ES2 gl, float[] value)
public void
setVec3 (GL2ES2 gl, float[] value)
public void
setVec4 (GL2ES2 gl, float[] value)
public void
setMat3 (GL2ES2 gl, float[] value)
public void
setMat4 (GL2ES2 gl, float[] value)