Packagecom.yogurt3d.core.materials.shaders
Classpublic class ShaderTexture
InheritanceShaderTexture Inheritance Shader Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedattributes : Vector.<EVertexAttribute>
[read-only]
Shader
 Inheritedkey : String
Key string of a shader.
Shader
  lightMap : TextureMap
ShaderTexture
 Inheritedparams : ShaderParameters
Returns the shader parameters.
Shader
  shadowAndLightMapUVChannel : uint
ShaderTexture
  texture : TextureMap
ShaderTexture
  textureChannel : uint
ShaderTexture
Public Methods
 MethodDefined By
  
ShaderTexture
  
dispose():void
ShaderTexture
 Inherited
Shader
  
getFragmentProgram(_lightType:ELightType = null):ByteArray
[override]
ShaderTexture
  
getProgram(_context3D:Context3D, _lightType:ELightType = null, _meshKey:String):Program3D
[override]
ShaderTexture
  
getVertexProgram(_meshKey:String, _lightType:ELightType = null):ByteArray
[override]
ShaderTexture
Property Detail
lightMapproperty
lightMap:TextureMap


Implementation
    public function get lightMap():TextureMap
    public function set lightMap(value:TextureMap):void
shadowAndLightMapUVChannelproperty 
shadowAndLightMapUVChannel:uint


Implementation
    public function get shadowAndLightMapUVChannel():uint
    public function set shadowAndLightMapUVChannel(value:uint):void
textureproperty 
texture:TextureMap


Implementation
    public function get texture():TextureMap
    public function set texture(value:TextureMap):void
textureChannelproperty 
textureChannel:uint


Implementation
    public function get textureChannel():uint
    public function set textureChannel(value:uint):void
Constructor Detail
ShaderTexture()Constructor
public function ShaderTexture(_texture:TextureMap)



Parameters
_texture:TextureMap
Method Detail
dispose()method
public function dispose():void

getFragmentProgram()method 
override public function getFragmentProgram(_lightType:ELightType = null):ByteArray

Parameters

_lightType:ELightType (default = null)

Returns
ByteArray
getProgram()method 
override public function getProgram(_context3D:Context3D, _lightType:ELightType = null, _meshKey:String):Program3D

Parameters

_context3D:Context3D
 
_lightType:ELightType (default = null)
 
_meshKey:String

Returns
Program3D
getVertexProgram()method 
override public function getVertexProgram(_meshKey:String, _lightType:ELightType = null):ByteArray

Parameters

_meshKey:String
 
_lightType:ELightType (default = null)

Returns
ByteArray