| Package | away3d.textures |
| Class | public class BitmapTexture |
| Inheritance | BitmapTexture Texture2DBase TextureProxyBase NamedAssetBase flash.events.EventDispatcher |
| Subclasses | SpecularBitmapTexture, SplatBlendBitmapTexture, VideoTexture, WebcamTexture |
| Property | Defined By | ||
|---|---|---|---|
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
![]() | assetType : String [read-only] | TextureProxyBase | |
| bitmapData : BitmapData | BitmapTexture | ||
![]() | format : String [read-only] | TextureProxyBase | |
![]() | hasMipMaps : Boolean [read-only] | TextureProxyBase | |
![]() | height : int [read-only] | TextureProxyBase | |
![]() | name : String | NamedAssetBase | |
![]() | originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | |
![]() | width : int [read-only] | TextureProxyBase | |
| Method | Defined By | ||
|---|---|---|---|
BitmapTexture(bitmapData:BitmapData, generateMipmaps:Boolean = true) | BitmapTexture | ||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
dispose():void [override] | BitmapTexture | ||
![]() | getTextureForStage3D(stage3DProxy:Stage3DProxy):TextureBase | TextureProxyBase | |
![]() | invalidateContent():void | TextureProxyBase | |
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| Method | Defined By | ||
|---|---|---|---|
![]() | createTexture(context:Context3D):TextureBase [override] | Texture2DBase | |
![]() | invalidateSize():void | TextureProxyBase | |
![]() | setSize(width:int, height:int):void | TextureProxyBase | |
uploadContent(texture:TextureBase):void [override] | BitmapTexture | ||
| bitmapData | property |
bitmapData:BitmapData public function get bitmapData():BitmapData public function set bitmapData(value:BitmapData):void| BitmapTexture | () | Constructor |
public function BitmapTexture(bitmapData:BitmapData, generateMipmaps:Boolean = true)bitmapData:BitmapData | |
generateMipmaps:Boolean (default = true) |
| dispose | () | method |
override public function dispose():void| uploadContent | () | method |
override protected function uploadContent(texture:TextureBase):voidParameters
texture:TextureBase |