Package | away3d.textures |
Class | public class TextureProxyBase |
Inheritance | TextureProxyBase NamedAssetBase flash.events.EventDispatcher |
Implements | IAsset |
Subclasses | CubeTextureBase, Texture2DBase |
Property | Defined By | ||
---|---|---|---|
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
assetType : String [read-only] | TextureProxyBase | ||
format : String [read-only] | TextureProxyBase | ||
hasMipMaps : Boolean [read-only] | TextureProxyBase | ||
height : int [read-only] | TextureProxyBase | ||
id : String | NamedAssetBase | ||
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 |
Property | Defined By | ||
---|---|---|---|
_dirty : Vector.<Context3D> | TextureProxyBase | ||
_format : String = bgra | TextureProxyBase | ||
_hasMipmaps : Boolean = true | TextureProxyBase | ||
_height : int | TextureProxyBase | ||
_textures : Vector.<TextureBase> | TextureProxyBase | ||
_width : int | TextureProxyBase |
Method | Defined By | ||
---|---|---|---|
TextureProxyBase | |||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
dispose():void
Cleans up resources used by this asset. | TextureProxyBase | ||
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 | TextureProxyBase | ||
invalidateSize():void | TextureProxyBase | ||
setSize(width:int, height:int):void | TextureProxyBase | ||
uploadContent(texture:TextureBase):void | TextureProxyBase |
_dirty | property |
protected var _dirty:Vector.<Context3D>
_format | property |
protected var _format:String = bgra
_hasMipmaps | property |
protected var _hasMipmaps:Boolean = true
_height | property |
protected var _height:int
_textures | property |
protected var _textures:Vector.<TextureBase>
_width | property |
protected var _width:int
assetType | property |
assetType:String
[read-only] public function get assetType():String
format | property |
format:String
[read-only] public function get format():String
hasMipMaps | property |
hasMipMaps:Boolean
[read-only] public function get hasMipMaps():Boolean
height | property |
height:int
[read-only] public function get height():int
width | property |
width:int
[read-only] public function get width():int
TextureProxyBase | () | Constructor |
public function TextureProxyBase()
createTexture | () | method |
protected function createTexture(context:Context3D):TextureBase
Parameters
context:Context3D |
TextureBase |
dispose | () | method |
public function dispose():void
Cleans up resources used by this asset.
getTextureForStage3D | () | method |
public function getTextureForStage3D(stage3DProxy:Stage3DProxy):TextureBase
Parameters
stage3DProxy:Stage3DProxy |
TextureBase |
invalidateContent | () | method |
public function invalidateContent():void
invalidateSize | () | method |
protected function invalidateSize():void
setSize | () | method |
protected function setSize(width:int, height:int):void
Parameters
width:int | |
height:int |
uploadContent | () | method |
protected function uploadContent(texture:TextureBase):void
Parameters
texture:TextureBase |