| Package | flare.materials.filters |
| Class | public class SpecularFilter |
| Inheritance | SpecularFilter FLSLFilter FLSLScope FLSL Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | blendMode : String
The blend mode used to blend between the fragment shaders. | FLSLFilter | |
![]() | byteCode : ByteArray
Sets or gets the flsl byteCode associated with the filter. | FLSLFilter | |
| level : Number | SpecularFilter | ||
![]() | name : String
The name of the flsl object. | FLSL | |
![]() | params : Dictionary
Contains a collection of flsl public declarations. | FLSLScope | |
![]() | passes : int [read-only]
Returns the number of passes required by the filter. | FLSLFilter | |
| power : Number | SpecularFilter | ||
![]() | semantic : String
The semantic which the object is associated. | FLSL | |
![]() | techniqueName : String
The name of the thecnique to use. | FLSLFilter | |
| Method | Defined By | ||
|---|---|---|---|
SpecularFilter(power:Number = 50, level:Number = 1) | SpecularFilter | ||
![]() | bind(byteCode:ByteArray):void
Bind the compiled flsl code to be executed by the scope. | FLSLScope | |
![]() | build():void
This forces to all materials containing this filter to be recompiled. | FLSLFilter | |
![]() | call(ns:String, params:Array = null):uint
Call to a function stored in the scope. | FLSLScope | |
![]() | getTechniqueNames():Array
Retirms all technique names available in the scope. | FLSLScope | |
![]() | process(scope:FLSLShader):void
This method is called when the filters are being proccessed by the associated Shader3D. | FLSLFilter | |
| level | property |
level:Number public function get level():Number public function set level(value:Number):void| power | property |
power:Number public function get power():Number public function set power(value:Number):void| SpecularFilter | () | Constructor |
public function SpecularFilter(power:Number = 50, level:Number = 1)power:Number (default = 50) | |
level:Number (default = 1) |