Packageaway3d.textures
Classpublic class TextureProxyBase
InheritanceTextureProxyBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher
Implements IAsset
Subclasses CubeTextureBase, Texture2DBase



Public Properties
 PropertyDefined By
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
  assetType : String
[read-only]
TextureProxyBase
  format : String
[read-only]
TextureProxyBase
  hasMipMaps : Boolean
[read-only]
TextureProxyBase
  height : int
[read-only]
TextureProxyBase
 Inheritedid : String
NamedAssetBase
 Inheritedname : String
NamedAssetBase
 InheritedoriginalName : String
[read-only] The original name used for this asset in the resource (e.g.
NamedAssetBase
  width : int
[read-only]
TextureProxyBase
Protected Properties
 PropertyDefined By
  _dirty : Vector.<Context3D>
TextureProxyBase
  _format : String = bgra
TextureProxyBase
  _hasMipmaps : Boolean = true
TextureProxyBase
  _height : int
TextureProxyBase
  _textures : Vector.<TextureBase>
TextureProxyBase
  _width : int
TextureProxyBase
Public Methods
 MethodDefined By
  
TextureProxyBase
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
  
dispose():void
Cleans up resources used by this asset.
TextureProxyBase
  
getTextureForStage3D(stage3DProxy:Stage3DProxy):TextureBase
TextureProxyBase
  
TextureProxyBase
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
Protected Methods
 MethodDefined By
  
createTexture(context:Context3D):TextureBase
TextureProxyBase
  
TextureProxyBase
  
setSize(width:int, height:int):void
TextureProxyBase
  
uploadContent(texture:TextureBase):void
TextureProxyBase
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
_dirtyproperty
protected var _dirty:Vector.<Context3D>

_formatproperty 
protected var _format:String = bgra

_hasMipmapsproperty 
protected var _hasMipmaps:Boolean = true

_heightproperty 
protected var _height:int

_texturesproperty 
protected var _textures:Vector.<TextureBase>

_widthproperty 
protected var _width:int

assetTypeproperty 
assetType:String  [read-only]


Implementation
    public function get assetType():String
formatproperty 
format:String  [read-only]


Implementation
    public function get format():String
hasMipMapsproperty 
hasMipMaps:Boolean  [read-only]


Implementation
    public function get hasMipMaps():Boolean
heightproperty 
height:int  [read-only]


Implementation
    public function get height():int
widthproperty 
width:int  [read-only]


Implementation
    public function get width():int
Constructor Detail
TextureProxyBase()Constructor
public function TextureProxyBase()



Method Detail
createTexture()method
protected function createTexture(context:Context3D):TextureBase

Parameters

context:Context3D

Returns
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

Returns
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