Package | flare.materials |
Class | public class NullMaterial |
Inheritance | NullMaterial FLSLMaterial Material3D flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
blendMode : int [override] | FLSLMaterial | ||
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
A 32bit flag to store different material properties. | Material3D | ||
material : NullMaterial [static] [read-only] | NullMaterial | ||
materialAttributes : uint = 0
A 32bit flag values which defines the vertex attributes needed to render this particula material. | Material3D | ||
name : String
The name of the material. | Material3D | ||
params : Object
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
Shader source code if available. | 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 | ||
drawQuad(x:Number = 0, y:Number = 0, width:Number = -1, height:Number = -1):void | FLSLMaterial | ||
getTechnique(name:String = null):Vector.<FLSLProgram> | FLSLMaterial | ||
getTechniqueNames():Array
Retirms all technique names available in the current shader. | FLSLMaterial | ||
[override] | FLSLMaterial | ||
rebuild():void
Forces to recompile the material. | FLSLMaterial | ||
[override] | 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 |
material | property |
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 )
|