Property | Type | Description | |
---|---|---|---|
arraySize | int | ||
glVarLoc | int | ||
name | string | ||
scope | ShaderVarScope | ||
type | ShaderVarType |
Method | Description | |
---|---|---|
InitUniformData ( ) : float[] |
Initializes a uniform dataset based on the type of the represented variable.
|
|
SetupUniform ( float data ) : void |
Assigns the specified data to the OpenGL uniform represented by this ShaderVarInfo.
|
|
ToString ( ) : string |
public SetupUniform ( float data ) : void | ||
data | float | Incoming uniform data. |
return | void |