| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private Object | |
| private boolean | |
| private int | |
| private String | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | GLUniformData(final String name, final int
number of elements of one object, ie 4 for GL_FLOAT_VEC4, components, final IntBuffer data)Multiple IntBuffer Vector Number of objects is calculated by data.limit()/components |
| public | GLUniformData(final String name, final int
number of elements of one object, ie 4 for GL_FLOAT_VEC4, components, final FloatBuffer data)Multiple FloatBuffer Vector Number of objects is calculated by data.limit()/components |
| private | |
| public | GLUniformData(final String name, final int
the matrix rows rows, final int columns, final FloatBuffer data)Multiple FloatBuffer Matrix Number of objects is calculated by data.limit()/(rows*columns) |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public int | |
| public static GLUniformData | |
| public static GLUniformData | |
| public FloatBuffer | |
| public float | |
| public Buffer | |
| public int | |
| public String | |
| public Object | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public IntBuffer | |
| public int | |
| public boolean | |
| public boolean | |
| public int | |
| public GLUniformData | |
| public GLUniformData | |
| public GLUniformData | |
| public GLUniformData | |
| public int | Returns: the given locationSets the given location of the shader uniform. |
| public int | Returns: ≥0 denotes a valid uniform location as found and used in the given shader program. <0 denotes an invalid location, i.e. not found or used in the given shader program.Retrieves the location of the shader uniform from the linked shader program. |
| public StringBuilder | |
| public String |
| columns | back to summary |
|---|---|
| private int columns | |
| count | back to summary |
|---|---|
| private int count | |
| data | back to summary |
|---|---|
| private Object data | |
| isMatrix | back to summary |
|---|---|
| private boolean isMatrix | |
| location | back to summary |
|---|---|
| private int location | |
| name | back to summary |
|---|---|
| private String name | |
| rows | back to summary |
|---|---|
| private int rows | |
| GLUniformData | back to summary |
|---|---|
| public GLUniformData(final String name, final int val) int atom Number of objects is 1 | |
| GLUniformData | back to summary |
|---|---|
| public GLUniformData(final String name, final float val) float atom Number of objects is 1 | |
| GLUniformData | back to summary |
|---|---|
| public GLUniformData(final String name, final int components, final IntBuffer data) Multiple IntBuffer Vector Number of objects is calculated by data.limit()/components
| |
| GLUniformData | back to summary |
|---|---|
| public GLUniformData(final String name, final int components, final FloatBuffer data) Multiple FloatBuffer Vector Number of objects is calculated by data.limit()/components
| |
| GLUniformData | back to summary |
|---|---|
| private GLUniformData(final int components, final String name) | |
| GLUniformData | back to summary |
|---|---|
| public GLUniformData(final String name, final int rows, final int columns, final FloatBuffer data) Multiple FloatBuffer Matrix Number of objects is calculated by data.limit()/(rows*columns)
| |
| columns | back to summary |
|---|---|
| public int columns() | |
| components | back to summary |
|---|---|
| public int components() | |
| count | back to summary |
|---|---|
| public int count() | |
| creatEmptyMatrix | back to summary |
|---|---|
| public static GLUniformData creatEmptyMatrix(final String name, final int rows, final int columns) | |
| creatEmptyVector | back to summary |
|---|---|
| public static GLUniformData creatEmptyVector(final String name, final int components) | |
| floatBufferValue | back to summary |
|---|---|
| public FloatBuffer floatBufferValue() | |
| floatValue | back to summary |
|---|---|
| public float floatValue() | |
| getBuffer | back to summary |
|---|---|
| public Buffer getBuffer() | |
| getLocation | back to summary |
|---|---|
| public int getLocation() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getObject | back to summary |
|---|---|
| public Object getObject() | |
| initBuffer | back to summary |
|---|---|
| private void initBuffer(final String name, final int rows, final int columns, final Buffer buffer) | |
| initBuffer | back to summary |
|---|---|
| private void initBuffer(final String name, final int components, final Buffer buffer) | |
| initBuffer | back to summary |
|---|---|
| private void initBuffer(final Buffer buffer) | |
| initScalar | back to summary |
|---|---|
| private void initScalar(final String name, final int components, final Object data) | |
| initScalar | back to summary |
|---|---|
| private void initScalar(final Object data) | |
| intBufferValue | back to summary |
|---|---|
| public IntBuffer intBufferValue() | |
| intValue | back to summary |
|---|---|
| public int intValue() | |
| isBuffer | back to summary |
|---|---|
| public boolean isBuffer() | |
| isMatrix | back to summary |
|---|---|
| public boolean isMatrix() | |
| rows | back to summary |
|---|---|
| public int rows() | |
| setData | back to summary |
|---|---|
| public GLUniformData setData(final int data) | |
| setData | back to summary |
|---|---|
| public GLUniformData setData(final float data) | |
| setData | back to summary |
|---|---|
| public GLUniformData setData(final IntBuffer data) | |
| setData | back to summary |
|---|---|
| public GLUniformData setData(final FloatBuffer data) | |
| setLocation | back to summary |
|---|---|
| public int setLocation(final int location) Sets the given location of the shader uniform.
| |
| setLocation | back to summary |
|---|---|
| public int setLocation(final GL2ES2 gl, final int program) Retrieves the location of the shader uniform from the linked shader program. No validation is performed within the implementation.
| |
| toString | back to summary |
|---|---|
public StringBuilder toString(StringBuilder sb)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |