Packagelaya.webgl.resource
Classpublic class WebGLSubImage
InheritanceWebGLSubImage Inheritance laya.resource.Bitmap
Implements IMergeAtlasBitmap



Public Properties
 PropertyDefined By
  allowMerageInAtlas : Boolean
[read-only] 是否创建私有Source
WebGLSubImage
  atlasImage : *
WebGLSubImage
  atlasSource : *
[read-only]
WebGLSubImage
  canvas : *
HTML Canvas,绘制子图载体,非私有数据载体
WebGLSubImage
  enableMerageInAtlas : Boolean
是否创建私有Source
WebGLSubImage
  magFifter : int
放大过滤器
WebGLSubImage
  minFifter : int
缩小过滤器
WebGLSubImage
  mipmap : Boolean
是否使用mipLevel
WebGLSubImage
  offsetX : int = 0
WebGLSubImage
  offsetY : int = 0
WebGLSubImage
  repeat : Boolean
是否使用重复模式纹理寻址
WebGLSubImage
  src : String
WebGLSubImage
Public Methods
 MethodDefined By
  
WebGLSubImage(canvas:*, offsetX:int, offsetY:int, width:int, height:int, atlasImage:*, src:String)
WebGLSubImage
  
WebGLSubImage
Protected Methods
 MethodDefined By
  
[override]
WebGLSubImage
  
[override]
WebGLSubImage
Property Detail
allowMerageInAtlasproperty
allowMerageInAtlas:Boolean  [read-only]

是否创建私有Source


Implementation
    public function get allowMerageInAtlas():Boolean
atlasImageproperty 
public var atlasImage:*

atlasSourceproperty 
atlasSource:*  [read-only]


Implementation
    public function get atlasSource():*
canvasproperty 
public var canvas:*

HTML Canvas,绘制子图载体,非私有数据载体

enableMerageInAtlasproperty 
enableMerageInAtlas:Boolean

是否创建私有Source


Implementation
    public function get enableMerageInAtlas():Boolean
    public function set enableMerageInAtlas(value:Boolean):void
magFifterproperty 
public var magFifter:int

放大过滤器

minFifterproperty 
public var minFifter:int

缩小过滤器

mipmapproperty 
public var mipmap:Boolean

是否使用mipLevel

offsetXproperty 
public var offsetX:int = 0

offsetYproperty 
public var offsetY:int = 0

repeatproperty 
public var repeat:Boolean

是否使用重复模式纹理寻址

srcproperty 
public var src:String

Constructor Detail
WebGLSubImage()Constructor
public function WebGLSubImage(canvas:*, offsetX:int, offsetY:int, width:int, height:int, atlasImage:*, src:String)



Parameters
canvas:*
 
offsetX:int
 
offsetY:int
 
width:int
 
height:int
 
atlasImage:*
 
src:String
Method Detail
clearAtlasSource()method
public function clearAtlasSource():void

detoryResource()method 
override protected function detoryResource():void

recreateResource()method 
override protected function recreateResource():void