A single register element (an entire register or a single register's component) used by the RegisterPool.


Can be created using method new:

Lib.Away3D.Materials.Compilation.ShaderRegisterElement.new(regName:String, index:Int, component:Int = -1)

Creates a new ShaderRegisterElement object.

regName - String, The name of the register.

index - Int, The index of the register.

component - Int, The register's component, if not the entire register is represented. Default -1


Created element has method:

toString()

Converts the register or the components AGAL string representation.


Properties:

regName

[read-only] String, The name of the register.

index

[read-only] Int, The index of the register.

Created with the Personal Edition of HelpNDoc: Full-featured multi-format Help generator