Packagegraphics.display
Classpublic class ShaderLoader
InheritanceShaderLoader Inheritance flash.net.URLLoader

Since : FlashPlayer 10

This loader load an external .pbj file and creates a specific Shader object.



Public Properties
 PropertyDefined By
  shader : Shader
Indicates the Shader reference of this loader.
ShaderLoader
Public Methods
 MethodDefined By
  
ShaderLoader(shader:Shader = null, request:URLRequest = null)
Creates a new ShaderLoader instance.
ShaderLoader
Property Detail
shaderproperty
shader:Shader

Indicates the Shader reference of this loader.


Implementation
    public function get shader():Shader
    public function set shader(value:Shader):void
Constructor Detail
ShaderLoader()Constructor
public function ShaderLoader(shader:Shader = null, request:URLRequest = null)

Creates a new ShaderLoader instance.

Parameters
shader:Shader (default = null) — The Shader reference used in this loader.
 
request:URLRequest (default = null) — The URLRequest of this loader to load the external style sheet.