Packageflare.flsl
Classpublic class FLSLInput
InheritanceFLSLInput Inheritance FLSL Inheritance Object

FLSLInput defines the attributes to pass to the shader for each vertex.



Public Properties
 PropertyDefined By
 InheritedagalVersion : int = 1
[static]
FLSL
  attribute : int
The number of the attribute.
FLSLInput
  format : String
The format of the attribute.
FLSLInput
 Inheritedname : String
The name of the flsl object.
FLSL
 Inheritedsemantic : String
The semantic which the object is associated.
FLSL
Public Methods
 MethodDefined By
  
Creates a new FLSLInput object.
FLSLInput
  
Clones the FLSLInput.
FLSLInput
Property Detail
attributeproperty
public var attribute:int

The number of the attribute. Should be one of the constants of Surface3D.

See also

formatproperty 
public var format:String

The format of the attribute. Should be float1, float2, float3 or float4.

Constructor Detail
FLSLInput()Constructor
public function FLSLInput()

Creates a new FLSLInput object.

Method Detail
clone()method
public function clone():FLSLInput

Clones the FLSLInput.

Returns
FLSLInput — A cloned FLSLInput object.