Packageaway3d.materials.compilation
Classpublic class SuperShaderCompiler
InheritanceSuperShaderCompiler Inheritance ShaderCompiler Inheritance Object



Public Properties
 PropertyDefined By
 InheritedalphaPremultiplied : Boolean
ShaderCompiler
 InheritedanimatableAttributes : Vector.<String>
[read-only]
ShaderCompiler
 InheritedanimateUVs : Boolean
ShaderCompiler
 InheritedanimationTargetRegisters : Vector.<String>
[read-only]
ShaderCompiler
 InheritedcameraPositionIndex : int
[read-only]
ShaderCompiler
 InheritedcommonsDataIndex : int
[read-only]
ShaderCompiler
 InheriteddiffuseLightSources : uint
ShaderCompiler
  _dirLightRegisters : Vector.<ShaderRegisterElement>
SuperShaderCompiler
 InheritedfragmentCode : String
[read-only]
ShaderCompiler
 InheritedfragmentLightCode : String
[read-only]
ShaderCompiler
 InheritedframentPostLightCode : String
[read-only]
ShaderCompiler
 InheritedlightFragmentConstantIndex : int
[read-only]
ShaderCompiler
 InheritedlightProbeDiffuseIndices : Vector.<uint>
[read-only]
ShaderCompiler
 InheritedlightProbeSpecularIndices : Vector.<uint>
[read-only]
ShaderCompiler
 InheritedmethodSetup : ShaderMethodSetup
ShaderCompiler
 InheritedneedUVAnimation : Boolean
[read-only]
ShaderCompiler
 InheritednormalBufferIndex : int
[read-only]
ShaderCompiler
 InheritednumDirectionalLights : uint
ShaderCompiler
 InheritednumLightProbes : uint
ShaderCompiler
 InheritednumPointLights : uint
ShaderCompiler
 InheritednumUsedFragmentConstants : uint
[read-only]
ShaderCompiler
 InheritednumUsedStreams : uint
[read-only]
ShaderCompiler
 InheritednumUsedTextures : uint
[read-only]
ShaderCompiler
 InheritednumUsedVaryings : uint
[read-only]
ShaderCompiler
 InheritednumUsedVertexConstants : uint
[read-only]
ShaderCompiler
  _pointLightRegisters : Vector.<ShaderRegisterElement>
SuperShaderCompiler
 InheritedpreserveAlpha : Boolean
ShaderCompiler
 InheritedprobeWeightsIndex : int
[read-only]
ShaderCompiler
 InheritedsceneMatrixIndex : int
[read-only]
ShaderCompiler
 InheritedsceneNormalMatrixIndex : int
[read-only]
ShaderCompiler
 InheritedsecondaryUVBufferIndex : int
[read-only]
ShaderCompiler
 InheritedshadedTarget : String
[read-only]
ShaderCompiler
 InheritedspecularLightSources : uint
ShaderCompiler
 InheritedtangentBufferIndex : int
[read-only]
ShaderCompiler
 InheritedusesNormals : Boolean
[read-only]
ShaderCompiler
 InheritedusingSpecularMethod : Boolean
[read-only]
ShaderCompiler
 InheriteduvBufferIndex : int
[read-only]
ShaderCompiler
 InheritedUVSource : String
[read-only]
ShaderCompiler
 InheritedUVTarget : String
[read-only]
ShaderCompiler
 InheriteduvTransformIndex : int
[read-only]
ShaderCompiler
 InheritedvertexCode : String
[read-only]
ShaderCompiler
 InheritedvertexConstantsOffset : uint
[read-only]
ShaderCompiler
Protected Properties
 PropertyDefined By
 Inherited_alphaPremultiplied : Boolean
ShaderCompiler
 Inherited_animatableAttributes : Vector.<String>
ShaderCompiler
 Inherited_animateUVs : Boolean
ShaderCompiler
 Inherited_animationTargetRegisters : Vector.<String>
ShaderCompiler
 Inherited_cameraPositionIndex : int = -1
ShaderCompiler
 Inherited_combinedLightSources : uint
ShaderCompiler
 Inherited_dependencyCounter : MethodDependencyCounter
ShaderCompiler
 Inherited_diffuseLightSources : uint
ShaderCompiler
 Inherited_fragmentCode : String
ShaderCompiler
 Inherited_fragmentConstantData : Vector.<Number>
ShaderCompiler
 Inherited_fragmentLightCode : String
ShaderCompiler
 Inherited_framentPostLightCode : String
ShaderCompiler
 Inherited_lightFragmentConstantIndex : int = -1
ShaderCompiler
 Inherited_lightProbeDiffuseIndices : Vector.<uint>
ShaderCompiler
 Inherited_lightProbeSpecularIndices : Vector.<uint>
ShaderCompiler
 Inherited_methodSetup : ShaderMethodSetup
ShaderCompiler
 Inherited_mipmap : Boolean
ShaderCompiler
 Inherited_needUVAnimation : Boolean
ShaderCompiler
 Inherited_normalBufferIndex : int = -1
ShaderCompiler
 Inherited_numDirectionalLights : uint
ShaderCompiler
 Inherited_numLightProbes : uint
ShaderCompiler
 Inherited_numLights : int
ShaderCompiler
 Inherited_numPointLights : uint
ShaderCompiler
 Inherited_numProbeRegisters : Number
ShaderCompiler
 Inherited_preserveAlpha : Boolean = true
ShaderCompiler
 Inherited_probeWeightsIndex : int = -1
ShaderCompiler
 Inherited_registerCache : ShaderRegisterCache
ShaderCompiler
 Inherited_repeat : Boolean
ShaderCompiler
 Inherited_sceneMatrixIndex : int = -1
ShaderCompiler
 Inherited_sceneNormalMatrixIndex : int = -1
ShaderCompiler
 Inherited_secondaryUVBufferIndex : int = -1
ShaderCompiler
 Inherited_sharedRegisters : ShaderRegisterData
ShaderCompiler
 Inherited_smooth : Boolean
ShaderCompiler
 Inherited_specularLightSources : uint
ShaderCompiler
 Inherited_tangentBufferIndex : int = -1
ShaderCompiler
 Inherited_usingSpecularMethod : Boolean
ShaderCompiler
 Inherited_uvBufferIndex : int = -1
ShaderCompiler
 Inherited_UVSource : String
ShaderCompiler
 Inherited_UVTarget : String
ShaderCompiler
 Inherited_uvTransformIndex : int = -1
ShaderCompiler
 Inherited_vertexCode : String
ShaderCompiler
 Inherited_vertexConstantData : Vector.<Number>
ShaderCompiler
 Inherited_vertexConstantsOffset : uint
ShaderCompiler
Public Methods
 MethodDefined By
  
SuperShaderCompiler
 Inherited
compile():void
ShaderCompiler
 Inherited
dispose():void
ShaderCompiler
 Inherited
setConstantDataBuffers(vertexConstantData:Vector.<Number>, fragmentConstantData:Vector.<Number>):void
ShaderCompiler
 Inherited
setTextureSampling(smooth:Boolean, repeat:Boolean, mipmap:Boolean):void
ShaderCompiler
Protected Methods
 MethodDefined By
  
[override] Calculates register dependencies for commonly used data.
SuperShaderCompiler
 Inherited
ShaderCompiler
  
[override]
SuperShaderCompiler
 Inherited
ShaderCompiler
 Inherited
ShaderCompiler
  
[override]
SuperShaderCompiler
  
[override]
SuperShaderCompiler
  
[override]
SuperShaderCompiler
 Inherited
ShaderCompiler
 Inherited
usesLights():Boolean
ShaderCompiler
 Inherited
ShaderCompiler
 Inherited
ShaderCompiler
 Inherited
usesProbes():Boolean
ShaderCompiler
 Inherited
ShaderCompiler
 Inherited
ShaderCompiler
Property Detail
_dirLightRegistersproperty
public var _dirLightRegisters:Vector.<ShaderRegisterElement>

_pointLightRegistersproperty 
public var _pointLightRegisters:Vector.<ShaderRegisterElement>

Constructor Detail
SuperShaderCompiler()Constructor
public function SuperShaderCompiler()



Method Detail
calculateDependencies()method
override protected function calculateDependencies():void

Calculates register dependencies for commonly used data.

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

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

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

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