Package | flare.materials |
Class | public class NullMaterial |
Inheritance | NullMaterial ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | blendMode : int | Material3D | |
![]() | byteCode : ByteArray
Sets or gets the flsl byteCode associated with the material. | FLSLMaterial | |
![]() | cullFace : String
The culling mode. | Material3D | |
![]() | currentTextuesPath : String [static]
FLSL shaders can request textures to be loaded, they ussualy are placed in the same directory as the flsl compiled file. | FLSLMaterial | |
![]() | depthCompare : String = lessEqual
The test comparasion to be used when depthWrite is 'true'. | Material3D | |
![]() | depthWrite : Boolean = true
Gets or sets whatever the material writes into the z-buffer. | Material3D | |
![]() | destFactor : String
The factor with which to multiply the destination color. | Material3D | |
![]() | flags : uint
An engine defined variable to store different material properties. | Material3D | |
![]() | name : String
The name of the material. | Material3D | |
![]() | params : Dictionary
Contains a collection of flsl public declarations. | FLSLMaterial | |
programs : Vector.<FLSLProgram> [static] | NullMaterial | ||
![]() | scene : Scene3D [read-only]
Gets a reference to the scene that the material is associated. | Material3D | |
![]() | semantics : Array [static]
Semantics are used to bind static data into specific flsl parameters. | FLSLMaterial | |
![]() | source : String | FLSLMaterial | |
![]() | sourceFactor : String
The factor with which to multiply the source color. | Material3D | |
![]() | techniqueName : String
The name of the thecnique to use. | FLSLMaterial | |
![]() | transparent : Boolean
Sets or gets if the material should use alpha blending. | Material3D | |
![]() | twoSided : Boolean
Sets or gets if the material should be drawn useing both sides of the surfaces. | Material3D |
Method | Defined By | ||
---|---|---|---|
NullMaterial(name:String = nullMaterial) | NullMaterial | ||
![]() | build():void
Compiles the material if it isn't already compiled. | FLSLMaterial | |
![]() | [override]
Creates a clone of the FLSLMaterial. | FLSLMaterial | |
![]() | dispose():void [override] | FLSLMaterial | |
![]() | download():void
Downloads all the data uploaded to the graphics card. | Material3D | |
![]() |
Draw a mesh surface using the current material. | Material3D | |
![]() | getTechniqueNames():Array
Retirms all technique names available in the current shader. | FLSLMaterial | |
![]() | rebuild():void
Forces to recompile the material. | FLSLMaterial | |
![]() | setTechnique(name:String = null):void | FLSLMaterial | |
![]() |
Associates and link the material with the scene to be uploaded. | Material3D | |
![]() |
Validates that the surface is compatible with the material. | Material3D |
programs | property |
programs:Vector.<FLSLProgram>
public static function get programs():Vector.<FLSLProgram>
public static function set programs(value:Vector.<FLSLProgram>):void
NullMaterial | () | Constructor |
public function NullMaterial(name:String = nullMaterial)
name:String (default = nullMaterial )
|