Свойство | Type | Description | |
---|---|---|---|
arraySize | int | ||
glVarLoc | int | ||
name | string | ||
scope | ShaderVarScope | ||
type | ShaderVarType |
Méthode | 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. |
Résultat | void |