Package | away3d.materials.compilation |
Class | public class SuperShaderCompiler |
Inheritance | SuperShaderCompiler ShaderCompiler Object |
Method | Defined By | ||
---|---|---|---|
SuperShaderCompiler | |||
compile():void | ShaderCompiler | ||
dispose():void | ShaderCompiler | ||
setConstantDataBuffers(vertexConstantData:Vector.<Number>, fragmentConstantData:Vector.<Number>):void | ShaderCompiler | ||
setTextureSampling(smooth:Boolean, repeat:Boolean, mipmap:Boolean):void | ShaderCompiler |
Method | Defined By | ||
---|---|---|---|
calculateDependencies():void [override]
Calculates register dependencies for commonly used data. | SuperShaderCompiler | ||
compileGlobalPositionCode():void | ShaderCompiler | ||
compileLightingCode():void [override] | SuperShaderCompiler | ||
compileMethods():void | ShaderCompiler | ||
compileMethodsCode():void | ShaderCompiler | ||
compileNormalCode():void [override] | SuperShaderCompiler | ||
compileViewDirCode():void [override] | SuperShaderCompiler | ||
initLightData():void [override] | SuperShaderCompiler | ||
initRegisterIndices():void | ShaderCompiler | ||
usesLights():Boolean | ShaderCompiler | ||
usesLightsForDiffuse():Boolean | ShaderCompiler | ||
usesLightsForSpecular():Boolean | ShaderCompiler | ||
usesProbes():Boolean | ShaderCompiler | ||
usesProbesForDiffuse():Boolean | ShaderCompiler | ||
usesProbesForSpecular():Boolean | ShaderCompiler |
_dirLightRegisters | property |
public var _dirLightRegisters:Vector.<ShaderRegisterElement>
_pointLightRegisters | property |
public var _pointLightRegisters:Vector.<ShaderRegisterElement>
SuperShaderCompiler | () | Constructor |
public function SuperShaderCompiler()
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