ShaderVariable
ShaderVariable class
Shader variable
Methods
constructor
Name | Description |
---|---|
constructor(name) | Constructor of ShaderVariable |
Parameters:
Name | Type | Description |
---|---|---|
nam | String | null |
Result:
constructor_overload
Name | Description |
---|---|
constructor_overload(name, shaderStage) | Constructor of ShaderVariable |
Parameters:
Name | Type | Description |
---|---|---|
nam | String | null |
shaderStage | Number | ShaderStage |
Result:
getName
Name | Description |
---|---|
getName() | Gets the name of this variable |
Result: