Packagecom.yogurt3d.core.texture
Classpublic class TextureMap
InheritanceTextureMap Inheritance EngineObject Inheritance Object
Implements ITexture



Public Properties
 PropertyDefined By
  animated : Boolean
This flag is used to make the texture be updated on every frame if is it a displayobject texture.
TextureMap
  bitmapData : BitmapData
The bitmapdata texture
TextureMap
  byteArray : ByteArray
The bytearray texture
TextureMap
  displayObject : DisplayObject
The displayobject texture
TextureMap
  mipLevel : uint
TextureMap
  mipmap : Boolean
TextureMap
 InheritedsystemID : String
[read-only] Automatically assigned id.
EngineObject
  transparent : Boolean
TextureMap
  type : String
TextureMap
 InheriteduserID : String
Identification string can be assigned by developer to identify objects.
EngineObject
Public Methods
 MethodDefined By
  
TextureMap(_bitmapData:BitmapData = null, _displayObject:DisplayObject = null, _byte:ByteArray = null, _mipmap:Boolean = false)
TextureMap
 Inherited
Creates new clone object.
EngineObject
  
dispose():void
[override]
TextureMap
  
[override]
TextureMap
  
disposeGPU():void
[override]
TextureMap
  
getTexture3D(_context3D:Context3D):TextureBase
This method is called by the renderer to fetch the Texture object.
TextureMap
 Inherited
Removes all external referances and clears internals.
EngineObject
 Inherited
renew():void
Renews object internals and resets properties of object.
EngineObject
 Inherited
toString():String
Returns a string identifier on this object
EngineObject
Protected Methods
 MethodDefined By
 Inherited
EngineObject
  
[override]
TextureMap
Public Constants
 ConstantDefined By
  ATF : String = ATF
[static]
TextureMap
  ATF_COMP : String = ATF_COMPRESSED
[static]
TextureMap
  BITMAP : String = BITMAP
[static]
TextureMap
  DISPLAY : String = DISPLAY
[static]
TextureMap
  UNKNOWN : String = UNKNOWN
[static]
TextureMap
Property Detail
animatedproperty
animated:Boolean

This flag is used to make the texture be updated on every frame if is it a displayobject texture.


Implementation
    public function get animated():Boolean
    public function set animated(value:Boolean):void
bitmapDataproperty 
bitmapData:BitmapData

The bitmapdata texture


Implementation
    public function get bitmapData():BitmapData
    public function set bitmapData(value:BitmapData):void
byteArrayproperty 
byteArray:ByteArray

The bytearray texture


Implementation
    public function get byteArray():ByteArray
    public function set byteArray(value:ByteArray):void
displayObjectproperty 
displayObject:DisplayObject

The displayobject texture


Implementation
    public function get displayObject():DisplayObject
    public function set displayObject(value:DisplayObject):void
m_bitmapDataproperty 
YOGURT3D_INTERNAL var m_bitmapData:BitmapData

m_byteArrayproperty 
YOGURT3D_INTERNAL var m_byteArray:ByteArray

m_compressedproperty 
YOGURT3D_INTERNAL var m_compressed:Boolean = false

m_dirtyproperty 
YOGURT3D_INTERNAL var m_dirty:Boolean = true

m_displayObjectproperty 
YOGURT3D_INTERNAL var m_displayObject:DisplayObject

m_heightproperty 
YOGURT3D_INTERNAL var m_height:uint

m_sizedirtyproperty 
YOGURT3D_INTERNAL var m_sizedirty:Boolean = true

m_widthproperty 
YOGURT3D_INTERNAL var m_width:uint

mipLevelproperty 
mipLevel:uint


Implementation
    public function get mipLevel():uint
    public function set mipLevel(value:uint):void
mipmapproperty 
mipmap:Boolean


Implementation
    public function get mipmap():Boolean
    public function set mipmap(value:Boolean):void
transparentproperty 
transparent:Boolean


Implementation
    public function get transparent():Boolean
    public function set transparent(value:Boolean):void
typeproperty 
type:String


Implementation
    public function get type():String
    public function set type(value:String):void
Constructor Detail
TextureMap()Constructor
public function TextureMap(_bitmapData:BitmapData = null, _displayObject:DisplayObject = null, _byte:ByteArray = null, _mipmap:Boolean = false)

Parameters
_bitmapData:BitmapData (default = null)
 
_displayObject:DisplayObject (default = null)
 
_byte:ByteArray (default = null)
 
_mipmap:Boolean (default = false)
Method Detail
dispose()method
override public function dispose():void

disposeDeep()method 
override public function disposeDeep():void

disposeGPU()method 
override public function disposeGPU():void

getTexture3D()method 
public function getTexture3D(_context3D:Context3D):TextureBase

This method is called by the renderer to fetch the Texture object.

Parameters

_context3D:Context3D

Returns
TextureBase
trackObject()method 
override protected function trackObject():void

Constant Detail
ATFConstant
public static const ATF:String = ATF

ATF_COMPConstant 
public static const ATF_COMP:String = ATF_COMPRESSED

BITMAPConstant 
public static const BITMAP:String = BITMAP

DISPLAYConstant 
public static const DISPLAY:String = DISPLAY

UNKNOWNConstant 
public static const UNKNOWN:String = UNKNOWN