프로퍼티 | 타입 | 설명 | |
---|---|---|---|
arraySize | int | ||
glVarLoc | int | ||
name | string | ||
scope | ShaderVarScope | ||
type | ShaderVarType |
메소드 | 설명 | |
---|---|---|
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. |
리턴 | void |