Packagecom.yogurt3d.core.texture
Classpublic class TextureMap
InheritanceTextureMap 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
Public Methods
 MethodDefined By
  
TextureMap(_bitmapData:BitmapData = null, _displayObject:DisplayObject = null, _byte:ByteArray = null)
TextureMap
  
dispose():void
TextureMap
  
getTexture3D(_context3D:Context3D):TextureBase
This method is called by the renderer to fetch the Texture object.
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_widthproperty 
YOGURT3D_INTERNAL var m_width:uint

Constructor Detail
TextureMap()Constructor
public function TextureMap(_bitmapData:BitmapData = null, _displayObject:DisplayObject = null, _byte:ByteArray = null)

Parameters
_bitmapData:BitmapData (default = null)
 
_displayObject:DisplayObject (default = null)
 
_byte:ByteArray (default = null)
Method Detail
dispose()method
public function dispose():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