Class GLSLUniform
Inheritance
java.lang.Object
GLSLUniform
Syntax
public class GLSLUniform
Constructors
GLSLUniform()
Declaration
public GLSLUniform()
Fields
arrayStride
If the current uniform is a Array then this will be its stride otherwise it is 0.
Declaration
public int arrayStride= 0
Field Value
Type | Description |
---|---|
int |
location
The location this uniform is bound in on the shader program if -1 then not bound.
Declaration
public int location= -1
Field Value
Type | Description |
---|---|
int |
matrixStride
If the current uniform is a Mat then this will be its stride otherwise it is 0 by default.
Declaration
public int matrixStride= 0
Field Value
Type | Description |
---|---|
int |
name
Declaration
public String name= ""
Field Value
Type | Description |
---|---|
String |
size
The size of this uniform variable if in an array the array stride property will be non 0, and if this variable is a Matrix then the Matrix Stride will be non 0.s
Declaration
public int size= 0
Field Value
Type | Description |
---|---|
int |
type
The raw glsl type integer
Declaration
public int type= 0
Field Value
Type | Description |
---|---|
int |