| Package | away3d.materials.compilation |
| Class | public class ShaderRegisterElement |
| Inheritance | ShaderRegisterElement Object |
| Property | Defined By | ||
|---|---|---|---|
| _component : int | 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:int = -1)
Creates a new ShaderRegisterElement object. | ShaderRegisterElement | ||
toString():String
Converts the register or the components AGAL string representation. | ShaderRegisterElement | ||
| _component | property |
public var _component:int| index | property |
index:int [read-only] The register's index.
public function get index():int| regName | property |
regName:String [read-only] The register's name.
public function get regName():String| ShaderRegisterElement | () | Constructor |
public function ShaderRegisterElement(regName:String, index:int, component:int = -1)Creates a new ShaderRegisterElement object.
ParametersregName:String — The name of the register.
| |
index:int — The index of the register.
| |
component:int (default = -1) — The register's component, if not the entire register is represented.
|
| toString | () | method |
public function toString():StringConverts the register or the components AGAL string representation.
ReturnsString |