| Package | com.yogurt3d.core.materials.shaders |
| Class | public class ShaderTexture |
| Inheritance | ShaderTexture Shader Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | attributes : Vector.<EVertexAttribute> [read-only] | Shader | |
![]() | key : String
Key string of a shader. | Shader | |
| lightMap : TextureMap | ShaderTexture | ||
![]() | params : ShaderParameters
Returns the shader parameters. | Shader | |
| shadowAndLightMapUVChannel : uint | ShaderTexture | ||
| texture : TextureMap | ShaderTexture | ||
| textureChannel : uint | ShaderTexture | ||
| Method | Defined By | ||
|---|---|---|---|
ShaderTexture(_texture:TextureMap) | ShaderTexture | ||
dispose():void | ShaderTexture | ||
![]() | disposeShaders():void | 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 | ||
| lightMap | property |
lightMap:TextureMap public function get lightMap():TextureMap public function set lightMap(value:TextureMap):void| shadowAndLightMapUVChannel | property |
shadowAndLightMapUVChannel:uint public function get shadowAndLightMapUVChannel():uint public function set shadowAndLightMapUVChannel(value:uint):void| texture | property |
texture:TextureMap
public function get texture():TextureMap public function set texture(value:TextureMap):void| textureChannel | property |
textureChannel:uint public function get textureChannel():uint public function set textureChannel(value:uint):void| ShaderTexture | () | Constructor |
| dispose | () | method |
public function dispose():void
| getFragmentProgram | () | method |
override public function getFragmentProgram(_lightType:ELightType = null):ByteArray
Parameters
_lightType:ELightType (default = null) |
ByteArray —
|
| getProgram | () | method |
override public function getProgram(_context3D:Context3D, _lightType:ELightType = null, _meshKey:String):Program3DParameters
_context3D:Context3D | |
_lightType:ELightType (default = null) | |
_meshKey:String |
Program3D |
| getVertexProgram | () | method |
override public function getVertexProgram(_meshKey:String, _lightType:ELightType = null):ByteArray
Parameters
_meshKey:String | |
_lightType:ELightType (default = null) |
ByteArray —
|