Packageaway3d.materials.passes
Classpublic class SuperShaderPass
InheritanceSuperShaderPass Inheritance CompiledPass Inheritance MaterialPassBase Inheritance flash.events.EventDispatcher

DefaultScreenPass is a shader pass that uses shader methods to compile a complete program.

See also

away3d.materials.methods.ShadingMethodBase


Public Properties
 PropertyDefined By
 InheritedalphaPremultiplied : Boolean
MaterialPassBase
 InheritedambientMethod : BasicAmbientMethod
CompiledPass
 InheritedanimateUVs : Boolean
CompiledPass
 InheritedanimationRegisterCache : AnimationRegisterCache
MaterialPassBase
 InheritedanimationSet : IAnimationSet
The animation used to add vertex code to the shader code.
MaterialPassBase
 InheritedbothSides : Boolean
Defines whether or not the material should perform backface culling.
MaterialPassBase
  colorTransform : ColorTransform
The ColorTransform object to transform the colour of the material with.
SuperShaderPass
  colorTransformMethod : ColorTransformMethod
SuperShaderPass
 InheriteddepthCompareMode : String
MaterialPassBase
 InheriteddiffuseLightSources : uint
CompiledPass
 InheriteddiffuseMethod : BasicDiffuseMethod
CompiledPass
  includeCasters : Boolean
SuperShaderPass
 Inheritedmaterial : MaterialBase
The material to which this pass belongs.
MaterialPassBase
 Inheritedmipmap : Boolean
[override] Defines whether any used textures should use mipmapping.
CompiledPass
 InheritedneedFragmentAnimation : Boolean
[read-only]
MaterialPassBase
 InheritedneedUVAnimation : Boolean
[read-only]
MaterialPassBase
 InheritednormalMap : Texture2DBase
The tangent space normal map to influence the direction of the surface for each texel.
CompiledPass
 InheritednormalMethod : BasicNormalMethod
CompiledPass
  numMethods : int
[read-only]
SuperShaderPass
 InheritednumUsedFragmentConstants : uint
[read-only]
MaterialPassBase
 InheritednumUsedStreams : uint
[read-only] The amount of used vertex streams in the vertex code.
MaterialPassBase
 InheritednumUsedVaryings : uint
[read-only]
MaterialPassBase
 InheritednumUsedVertexConstants : uint
[read-only] The amount of used vertex constants in the vertex code.
MaterialPassBase
 InheritedpreserveAlpha : Boolean
CompiledPass
 InheritedrenderToTexture : Boolean
[read-only] Specifies whether this pass renders to texture
MaterialPassBase
 Inheritedrepeat : Boolean
Defines whether textures should be tiled.
MaterialPassBase
 InheritedshadowMethod : ShadowMapMethodBase
CompiledPass
 Inheritedsmooth : Boolean
Defines whether smoothing should be applied to any used textures.
MaterialPassBase
 InheritedspecularLightSources : uint
CompiledPass
 InheritedspecularMethod : BasicSpecularMethod
CompiledPass
Protected Properties
 PropertyDefined By
 Inherited_alphaPremultiplied : Boolean
MaterialPassBase
 Inherited_ambientLightB : Number
CompiledPass
 Inherited_ambientLightG : Number
CompiledPass
 Inherited_ambientLightR : Number
CompiledPass
 Inherited_animatableAttributes : Vector.<String>
MaterialPassBase
 Inherited_animateUVs : Boolean
CompiledPass
 Inherited_animationSet : IAnimationSet
MaterialPassBase
 Inherited_animationTargetRegisters : Vector.<String>
MaterialPassBase
 Inherited_cameraPositionIndex : int
CompiledPass
 Inherited_commonsDataIndex : int
CompiledPass
 Inherited_compiler : ShaderCompiler
CompiledPass
 Inherited_defaultCulling : String = back
MaterialPassBase
 Inherited_depthCompareMode : String = lessEqual
MaterialPassBase
 Inherited_diffuseLightSources : uint = 0x03
CompiledPass
 Inherited_fragmentAnimationCode : String
CompiledPass
 Inherited_fragmentConstantData : Vector.<Number>
CompiledPass
 Inherited_fragmentLightCode : String
CompiledPass
 Inherited_framentPostLightCode : String
CompiledPass
 Inherited_lightFragmentConstantIndex : int
CompiledPass
 Inherited_lightPicker : LightPickerBase
MaterialPassBase
 Inherited_lightProbeDiffuseIndices : Vector.<uint>
CompiledPass
 Inherited_lightProbeSpecularIndices : Vector.<uint>
CompiledPass
 Inherited_material : MaterialBase
MaterialPassBase
 Inherited_methodSetup : ShaderMethodSetup
CompiledPass
 Inherited_mipmap : Boolean = true
MaterialPassBase
 Inherited_needFragmentAnimation : Boolean
MaterialPassBase
 Inherited_needUVAnimation : Boolean
MaterialPassBase
 Inherited_normalBufferIndex : int
CompiledPass
 Inherited_numDirectionalLights : uint
CompiledPass
 Inherited_numLightProbes : uint
CompiledPass
 Inherited_numPointLights : uint
CompiledPass
 Inherited_numUsedFragmentConstants : uint
MaterialPassBase
 Inherited_numUsedStreams : uint
MaterialPassBase
 Inherited_numUsedTextures : uint
MaterialPassBase
 Inherited_numUsedVaryings : uint
MaterialPassBase
 Inherited_numUsedVertexConstants : uint
MaterialPassBase
 Inherited_preserveAlpha : Boolean = true
CompiledPass
 Inherited_probeWeightsIndex : int
CompiledPass
 Inherited_repeat : Boolean = false
MaterialPassBase
 Inherited_sceneMatrixIndex : int
CompiledPass
 Inherited_sceneNormalMatrixIndex : int
CompiledPass
 Inherited_secondaryUVBufferIndex : int
CompiledPass
 Inherited_shadedTarget : String = ft0
MaterialPassBase
 Inherited_smooth : Boolean = true
MaterialPassBase
 Inherited_specularLightSources : uint = 0x01
CompiledPass
 Inherited_tangentBufferIndex : int
CompiledPass
 Inherited_usesNormals : Boolean
CompiledPass
 Inherited_usingSpecularMethod : Boolean
CompiledPass
 Inherited_uvBufferIndex : int
CompiledPass
 Inherited_UVSource : String
MaterialPassBase
 Inherited_UVTarget : String
MaterialPassBase
 Inherited_uvTransformIndex : int
CompiledPass
 Inherited_vertexCode : String
CompiledPass
 Inherited_vertexConstantData : Vector.<Number>
CompiledPass
 Inherited_vertexConstantsOffset : uint
CompiledPass
Public Methods
 MethodDefined By
  
Creates a new DefaultScreenPass objects.
SuperShaderPass
  
Adds a shading method to the end of the shader.
SuperShaderPass
  
addMethodAt(method:EffectMethodBase, index:int):void
Adds a shading method to the end of a shader, at the specified index amongst the methods in that section of the shader.
SuperShaderPass
 Inherited
dispose():void
[override] Cleans up any resources used by the current object.
CompiledPass
  
SuperShaderPass
  
hasMethod(method:EffectMethodBase):Boolean
SuperShaderPass
  
SuperShaderPass
 Inherited
setBlendMode(value:String, force:Boolean = false):void
MaterialPassBase
Protected Methods
 MethodDefined By
 Inherited
addPasses(passes:Vector.<MaterialPassBase>):void
Adds passes to the list.
CompiledPass
  
[override]
SuperShaderPass
 Inherited
cleanUp():void
CompiledPass
  
[override]
SuperShaderPass
 Inherited
CompiledPass
 Inherited
CompiledPass
 Inherited
CompiledPass
  
[override] Updates the lights data for the render state.
SuperShaderPass
  
[override]
SuperShaderPass
  
[override]
SuperShaderPass
  
updateProbes(stage3DProxy:Stage3DProxy):void
[override]
SuperShaderPass
 Inherited
CompiledPass
 Inherited
CompiledPass
 Inherited
usesLights():Boolean
CompiledPass
 Inherited
usesProbes():Boolean
CompiledPass
Property Detail
colorTransformproperty
colorTransform:ColorTransform

The ColorTransform object to transform the colour of the material with.


Implementation
    public function get colorTransform():ColorTransform
    public function set colorTransform(value:ColorTransform):void
colorTransformMethodproperty 
colorTransformMethod:ColorTransformMethod


Implementation
    public function get colorTransformMethod():ColorTransformMethod
    public function set colorTransformMethod(value:ColorTransformMethod):void
includeCastersproperty 
includeCasters:Boolean


Implementation
    public function get includeCasters():Boolean
    public function set includeCasters(value:Boolean):void
numMethodsproperty 
numMethods:int  [read-only]


Implementation
    public function get numMethods():int
Constructor Detail
SuperShaderPass()Constructor
public function SuperShaderPass(material:MaterialBase)

Creates a new DefaultScreenPass objects.

Parameters
material:MaterialBase
Method Detail
activate()method
override arcane function activate(stage3DProxy:Stage3DProxy, camera:Camera3D, textureRatioX:Number, textureRatioY:Number):void

Parameters

stage3DProxy:Stage3DProxy
 
camera:Camera3D
 
textureRatioX:Number
 
textureRatioY:Number

addMethod()method 
public function addMethod(method:EffectMethodBase):void

Adds a shading method to the end of the shader. Note that shading methods can not be reused across materials.

Parameters

method:EffectMethodBase

addMethodAt()method 
public function addMethodAt(method:EffectMethodBase, index:int):void

Adds a shading method to the end of a shader, at the specified index amongst the methods in that section of the shader. Note that shading methods can not be reused across materials.

Parameters

method:EffectMethodBase
 
index:int

addPassesFromMethods()method 
override protected function addPassesFromMethods():void

createCompiler()method 
override protected function createCompiler():ShaderCompiler

Returns
ShaderCompiler
deactivate()method 
override arcane function deactivate(stage3DProxy:Stage3DProxy):void

Parameters

stage3DProxy:Stage3DProxy

getMethodAt()method 
public function getMethodAt(index:int):EffectMethodBase

Parameters

index:int

Returns
EffectMethodBase
hasMethod()method 
public function hasMethod(method:EffectMethodBase):Boolean

Parameters

method:EffectMethodBase

Returns
Boolean
removeMethod()method 
public function removeMethod(method:EffectMethodBase):void

Parameters

method:EffectMethodBase

updateLightConstants()method 
override protected function updateLightConstants():void

Updates the lights data for the render state.

updateLights()method 
override protected function updateLights():void

updateMethodConstants()method 
override protected function updateMethodConstants():void

updateProbes()method 
override protected function updateProbes(stage3DProxy:Stage3DProxy):void

Parameters

stage3DProxy:Stage3DProxy