Package | away3d.materials.utils |
Class | public class ShaderRegisterElement |
Property | Defined by | ||
---|---|---|---|
component : String [read-only]
The register's component, if not the entire register is represented.
| ShaderRegisterElement | ||
index : int [read-only]
The register's index.
| ShaderRegisterElement | ||
regName : String [read-only]
The register's name.
| ShaderRegisterElement |
Method | Defined by | ||
---|---|---|---|
ShaderRegisterElement
(regName:String, index:int, component:String = null)
Creates a new ShaderRegisterElement object.
| ShaderRegisterElement | ||
toString():String
Converts the register or the components AGAL string representation.
| ShaderRegisterElement |
component | property |
component:String
[read-only]The register's component, if not the entire register is represented.
Implementation public function get component():String
index | property |
index:int
[read-only]The register's index.
Implementation public function get index():int
regName | property |
regName:String
[read-only]The register's name.
Implementation public function get regName():String
ShaderRegisterElement | () | constructor |
public function ShaderRegisterElement(regName:String, index:int, component:String = null)
Parameters
regName:String — The name of the register.
|
|
index:int — The index of the register.
|
|
component:String (default = null ) — The register's component, if not the entire register is represented.
|
toString | () | method |
public function toString():String
Converts the register or the components AGAL string representation.
ReturnsString |