| Package | com.yogurt3d.core.texture |
| Class | public class TextureMap |
| Inheritance | TextureMap EngineObject Object |
| Implements | ITexture |
| Property | Defined 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 | ||
![]() | systemID : String [read-only]
Automatically assigned id. | EngineObject | |
| transparent : Boolean | TextureMap | ||
| type : String | TextureMap | ||
![]() | userID : String
Identification string can be assigned by developer to identify objects. | EngineObject | |
| Method | Defined By | ||
|---|---|---|---|
TextureMap(_bitmapData:BitmapData = null, _displayObject:DisplayObject = null, _byte:ByteArray = null, _mipmap:Boolean = false) | TextureMap | ||
![]() |
Creates new clone object. | EngineObject | |
dispose():void [override] | TextureMap | ||
disposeDeep():void [override] | TextureMap | ||
disposeGPU():void [override] | TextureMap | ||
getTexture3D(_context3D:Context3D):TextureBase
This method is called by the renderer to fetch the Texture object. | TextureMap | ||
![]() | instance():*
Removes all external referances and clears internals. | EngineObject | |
![]() | renew():void
Renews object internals and resets properties of object. | EngineObject | |
![]() | toString():String
Returns a string identifier on this object
| EngineObject | |
| Method | Defined By | ||
|---|---|---|---|
![]() | initInternals():void | EngineObject | |
trackObject():void [override] | TextureMap | ||
| Constant | Defined 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 | ||
| animated | property |
animated:BooleanThis flag is used to make the texture be updated on every frame if is it a displayobject texture.
public function get animated():Boolean public function set animated(value:Boolean):void| bitmapData | property |
bitmapData:BitmapDataThe bitmapdata texture
public function get bitmapData():BitmapData public function set bitmapData(value:BitmapData):void| byteArray | property |
byteArray:ByteArrayThe bytearray texture
public function get byteArray():ByteArray public function set byteArray(value:ByteArray):void| displayObject | property |
displayObject:DisplayObjectThe displayobject texture
public function get displayObject():DisplayObject public function set displayObject(value:DisplayObject):void| m_bitmapData | property |
YOGURT3D_INTERNAL var m_bitmapData:BitmapData| m_byteArray | property |
YOGURT3D_INTERNAL var m_byteArray:ByteArray| m_compressed | property |
YOGURT3D_INTERNAL var m_compressed:Boolean = false| m_dirty | property |
YOGURT3D_INTERNAL var m_dirty:Boolean = true| m_displayObject | property |
YOGURT3D_INTERNAL var m_displayObject:DisplayObject| m_height | property |
YOGURT3D_INTERNAL var m_height:uint| m_sizedirty | property |
YOGURT3D_INTERNAL var m_sizedirty:Boolean = true| m_width | property |
YOGURT3D_INTERNAL var m_width:uint| mipLevel | property |
mipLevel:uint public function get mipLevel():uint public function set mipLevel(value:uint):void| mipmap | property |
mipmap:Boolean public function get mipmap():Boolean public function set mipmap(value:Boolean):void| transparent | property |
transparent:Boolean public function get transparent():Boolean public function set transparent(value:Boolean):void| type | property |
type:String public function get type():String public function set type(value:String):void| 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) |
| 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):TextureBaseThis method is called by the renderer to fetch the Texture object.
Parameters
_context3D:Context3D |
TextureBase —
|
| trackObject | () | method |
override protected function trackObject():void| ATF | Constant |
public static const ATF:String = ATF| ATF_COMP | Constant |
public static const ATF_COMP:String = ATF_COMPRESSED| BITMAP | Constant |
public static const BITMAP:String = BITMAP| DISPLAY | Constant |
public static const DISPLAY:String = DISPLAY| UNKNOWN | Constant |
public static const UNKNOWN:String = UNKNOWN