Package | away3d.materials.passes |
Class | public class SuperShaderPass |
Inheritance | SuperShaderPass ![]() ![]() ![]() |
See also
Property | Defined By | ||
---|---|---|---|
![]() | alphaPremultiplied : Boolean | MaterialPassBase | |
![]() | ambientMethod : BasicAmbientMethod | CompiledPass | |
![]() | animateUVs : Boolean | CompiledPass | |
![]() | animationRegisterCache : AnimationRegisterCache | MaterialPassBase | |
![]() | animationSet : IAnimationSet
The animation used to add vertex code to the shader code. | MaterialPassBase | |
![]() | bothSides : 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 | ||
![]() | depthCompareMode : String | MaterialPassBase | |
![]() | diffuseLightSources : uint | CompiledPass | |
![]() | diffuseMethod : BasicDiffuseMethod | CompiledPass | |
includeCasters : Boolean | SuperShaderPass | ||
![]() | material : MaterialBase
The material to which this pass belongs. | MaterialPassBase | |
![]() | mipmap : Boolean [override]
Defines whether any used textures should use mipmapping. | CompiledPass | |
![]() | needFragmentAnimation : Boolean [read-only] | MaterialPassBase | |
![]() | needUVAnimation : Boolean [read-only] | MaterialPassBase | |
![]() | normalMap : Texture2DBase
The tangent space normal map to influence the direction of the surface for each texel. | CompiledPass | |
![]() | normalMethod : BasicNormalMethod | CompiledPass | |
numMethods : int [read-only] | SuperShaderPass | ||
![]() | numUsedFragmentConstants : uint [read-only] | MaterialPassBase | |
![]() | numUsedStreams : uint [read-only]
The amount of used vertex streams in the vertex code. | MaterialPassBase | |
![]() | numUsedVaryings : uint [read-only] | MaterialPassBase | |
![]() | numUsedVertexConstants : uint [read-only]
The amount of used vertex constants in the vertex code. | MaterialPassBase | |
![]() | preserveAlpha : Boolean | CompiledPass | |
![]() | renderToTexture : Boolean [read-only]
Specifies whether this pass renders to texture
| MaterialPassBase | |
![]() | repeat : Boolean
Defines whether textures should be tiled. | MaterialPassBase | |
![]() | shadowMethod : ShadowMapMethodBase | CompiledPass | |
![]() | smooth : Boolean
Defines whether smoothing should be applied to any used textures. | MaterialPassBase | |
![]() | specularLightSources : uint | CompiledPass | |
![]() | specularMethod : BasicSpecularMethod | CompiledPass |
Method | Defined By | ||
---|---|---|---|
SuperShaderPass(material:MaterialBase)
Creates a new DefaultScreenPass objects. | SuperShaderPass | ||
addMethod(method:EffectMethodBase):void
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 | ||
![]() | dispose():void [override]
Cleans up any resources used by the current object. | CompiledPass | |
getMethodAt(index:int):EffectMethodBase | SuperShaderPass | ||
hasMethod(method:EffectMethodBase):Boolean | SuperShaderPass | ||
removeMethod(method:EffectMethodBase):void | SuperShaderPass | ||
![]() | setBlendMode(value:String, force:Boolean = false):void | MaterialPassBase |
Method | Defined By | ||
---|---|---|---|
![]() | addPasses(passes:Vector.<MaterialPassBase>):void
Adds passes to the list. | CompiledPass | |
addPassesFromMethods():void [override] | SuperShaderPass | ||
![]() | cleanUp():void | CompiledPass | |
[override] | SuperShaderPass | ||
![]() | initCommonsData():void | CompiledPass | |
![]() | initCompiler():void | CompiledPass | |
![]() | initUVTransformData():void | CompiledPass | |
updateLightConstants():void [override]
Updates the lights data for the render state. | SuperShaderPass | ||
updateLights():void [override] | SuperShaderPass | ||
updateMethodConstants():void [override] | SuperShaderPass | ||
updateProbes(stage3DProxy:Stage3DProxy):void [override] | SuperShaderPass | ||
![]() | updateRegisterIndices():void | CompiledPass | |
![]() | updateShaderProperties():void | CompiledPass | |
![]() | usesLights():Boolean | CompiledPass | |
![]() | usesProbes():Boolean | CompiledPass |
colorTransform | property |
colorTransform:ColorTransform
The ColorTransform object to transform the colour of the material with.
public function get colorTransform():ColorTransform
public function set colorTransform(value:ColorTransform):void
colorTransformMethod | property |
colorTransformMethod:ColorTransformMethod
public function get colorTransformMethod():ColorTransformMethod
public function set colorTransformMethod(value:ColorTransformMethod):void
includeCasters | property |
includeCasters:Boolean
public function get includeCasters():Boolean
public function set includeCasters(value:Boolean):void
numMethods | property |
numMethods:int
[read-only] public function get numMethods():int
SuperShaderPass | () | Constructor |
public function SuperShaderPass(material:MaterialBase)
Creates a new DefaultScreenPass objects.
Parametersmaterial:MaterialBase |
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 |
deactivate | () | method |
override arcane function deactivate(stage3DProxy:Stage3DProxy):void
Parameters
stage3DProxy:Stage3DProxy |
getMethodAt | () | method |
hasMethod | () | method |
public function hasMethod(method:EffectMethodBase):Boolean
Parameters
method:EffectMethodBase |
Boolean |
removeMethod | () | method |
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 |