subshaderΒΆ
class subshader
A subshader instanciation with its parameters
Members
Constructors:
| create | (
|
Create a subshader with a name and parameters |
Methods:
| getname | ( ) | Get the shader name ("Texture", for instance) |
| getparameter | (
|
Get a shader parameter value by its name |
| getparameters | ( ) | Get the shader parameters |
| merge | (
|
Merge a subshader with this, the merging shader overrides this. |
Documentation
Get the shader name ("Texture", for instance)
Return:
name the subshader name
Get a shader parameter value by its name
Arguments:
name the subshader parameter name
Return:
value the subshader parameter
Get the shader parameters
Return:
parameters the subshader parameters
Merge a subshader with this, the merging shader overrides this.
Arguments:
tomerge the shader to merge in
Return:
merged the result merge