Property | Type | Description | |
---|---|---|---|
m_ID | int | ||
m_Name | string | ||
m_Name2Parameter | Parameter>.Dictionary | ||
m_Owner | Scene | ||
m_Parameters | List |
||
m_ShaderURL | string | ||
m_TextureParameters | List |
Method | Description | |
---|---|---|
ClearParameters ( ) : void |
Clears all registered parameters
|
|
CreateParameter ( string _Name, PARAMETER_TYPE _Type ) : Parameter |
Creates a new parameter
|
|
Find ( string _ParameterName ) : Parameter |
Finds a parameter by name
|
|
ToString ( ) : string |
Method | Description | |
---|---|---|
AddTextureParameter ( |
Adds a texture parameter (called by one of our TextureParameter which was assigned a texture)
|
|
RemoveTextureParameter ( |
Removes a texture parameter (called by one of our TextureParameter which was assigned a texture)
|
Method | Description | |
---|---|---|
MaterialParameters ( Scene _Owner, System _Reader ) : System |
Loads parameters from a stream
|
|
MaterialParameters ( Scene _Owner, int _ID, string _Name, string _ShaderURL ) : System | ||
Save ( System _Writer ) : void |
Saves parameters to a stream
|
protected AddTextureParameter ( |
||
_Texture | ||
return | void |
public CreateParameter ( string _Name, PARAMETER_TYPE _Type ) : Parameter | ||
_Name | string | |
_Type | PARAMETER_TYPE | |
return | Parameter |
public Find ( string _ParameterName ) : Parameter | ||
_ParameterName | string | |
return | Parameter |
protected RemoveTextureParameter ( |
||
_Texture | ||
return | void |
protected Dictionary |
||
return | Parameter>.Dictionary |