| Package | com.yogurt3d.core.materials.shaders |
| Class | public class ShaderSolidFill |
| Inheritance | ShaderSolidFill Shader Object |
| Property | Defined By | ||
|---|---|---|---|
| color : uint | ShaderSolidFill | ||
| colorConst : ShaderConstants | ShaderSolidFill | ||
![]() | key : String
Key string of a shader. | Shader | |
| opacity : Number | ShaderSolidFill | ||
![]() | params : ShaderParameters
Returns the shader parameters. | Shader | |
![]() | requiresBoneData : Boolean
Flag indicating the shader requires bone indices and bone weights for selected mesh.\n
BoneIndices are loaded into va4 and va5 on the gpu program, total of 8 influences.\n
BoneWeights are loaded into va6 and va7 on the gpu program, total of 8 influences.\n
If flag is set to false, no vertex attributes are loaded on 4,5,6,7\n
| Shader | |
![]() | requiresLight : Boolean | Shader | |
![]() | requiresShadowCastingLight : Boolean | Shader | |
![]() | requiresTangents : Boolean
Flag indicating the shader requires bone indices and bone weights for selected mesh.\n
BoneIndices are loaded into va4 and va5 on the gpu program, total of 8 influences.\n
| Shader | |
| Method | Defined By | ||
|---|---|---|---|
ShaderSolidFill(_color:uint, _opacity:Number = 1) | ShaderSolidFill | ||
![]() | disposeShaders():void | Shader | |
getFragmentProgram(_lightType:String):ByteArray [override] | ShaderSolidFill | ||
![]() | getProgram(_context3D:Context3D, _lightType:String, _meshKey:String):Program3D
Returns the Program3D object for this shader. | Shader | |
getVertexProgram(_meshKey:String):ByteArray [override] | ShaderSolidFill | ||
| color | property |
color:uint public function get color():uint public function set color(value:uint):void| colorConst | property |
public var colorConst:ShaderConstants| opacity | property |
opacity:Number public function get opacity():Number public function set opacity(value:Number):void| ShaderSolidFill | () | Constructor |
public function ShaderSolidFill(_color:uint, _opacity:Number = 1)_color:uint | |
_opacity:Number (default = 1) |
| getFragmentProgram | () | method |
override public function getFragmentProgram(_lightType:String):ByteArrayParameters
_lightType:String |
ByteArray |
| getVertexProgram | () | method |
override public function getVertexProgram(_meshKey:String):ByteArrayParameters
_meshKey:String |
ByteArray |