Package | away3d.loading |
Class | public class BitmapDataResource |
Implements | IResource |
Property | Defined by | ||
---|---|---|---|
bitmapData : BitmapData
The bitmapData to be treated as a resource.
| BitmapDataResource | ||
name : String
The name of the resource.
| BitmapDataResource |
Method | Defined by | ||
---|---|---|---|
BitmapDataResource
(bitmapData:BitmapData = null)
Creates a new BitmapDataResource object.
| BitmapDataResource | ||
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
| BitmapDataResource |
bitmapData | property |
bitmapData:BitmapData
[read-write]The bitmapData to be treated as a resource.
Implementation public function get bitmapData():BitmapData
public function set bitmapData(value:BitmapData):void
name | property |
name:String
[read-write]The name of the resource.
Implementation public function get name():String
public function set name(value:String):void
BitmapDataResource | () | constructor |
public function BitmapDataResource(bitmapData:BitmapData = null)
Parameters
bitmapData:BitmapData (default = null ) — An optional BitmapData object to use as the resource data.
|
dispose | () | method |
public function dispose(deep:Boolean):void
Cleans up any resources used by the current object.
Parametersdeep:Boolean — Indicates whether other resources should be cleaned up, that could potentially be shared across different instances.
|