Packagecom.yogurt3d.core.texture.base
Classpublic class TextureMapBase
InheritanceTextureMapBase Inheritance Object
Implements ITexture
Subclasses CubeTextureMap, RenderTextureTarget



Public Properties
 PropertyDefined By
  height : uint
[read-only]
TextureMapBase
  type : ETextureType
[read-only]
TextureMapBase
  width : uint
[read-only]
TextureMapBase
Public Methods
 MethodDefined By
  
TextureMapBase
  
dispose():void
TextureMapBase
  
getTexture3D(_context3D:Context3D):TextureBase
TextureMapBase
Protected Methods
 MethodDefined By
  
getTextureForContext(context:Context3D):TextureBase
TextureMapBase
  
hasTextureForContext(context:Context3D):Boolean
TextureMapBase
  
mapTextureForContext(texture:TextureBase, context:Context3D):void
TextureMapBase
Property Detail
heightproperty
height:uint  [read-only]


Implementation
    public function get height():uint
m_context3DMapproperty 
YOGURT3D_INTERNAL var m_context3DMap:Dictionary

m_heightproperty 
YOGURT3D_INTERNAL var m_height:uint

m_typeproperty 
YOGURT3D_INTERNAL var m_type:ETextureType

m_widthproperty 
YOGURT3D_INTERNAL var m_width:uint

typeproperty 
type:ETextureType  [read-only]


Implementation
    public function get type():ETextureType
widthproperty 
width:uint  [read-only]


Implementation
    public function get width():uint
Constructor Detail
TextureMapBase()Constructor
public function TextureMapBase(type:ETextureType)



Parameters
type:ETextureType
Method Detail
dispose()method
public function dispose():void

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

Parameters

_context3D:Context3D

Returns
TextureBase
getTextureForContext()method 
protected function getTextureForContext(context:Context3D):TextureBase

Parameters

context:Context3D

Returns
TextureBase
hasTextureForContext()method 
protected function hasTextureForContext(context:Context3D):Boolean

Parameters

context:Context3D

Returns
Boolean
mapTextureForContext()method 
protected function mapTextureForContext(texture:TextureBase, context:Context3D):void

Parameters

texture:TextureBase
 
context:Context3D