Package | laya.webgl.resource |
Class | public class WebGLSubImage |
Inheritance | WebGLSubImage ![]() |
Implements | IMergeAtlasBitmap |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
WebGLSubImage(canvas:*, offsetX:int, offsetY:int, width:int, height:int, atlasImage:*, src:String) | WebGLSubImage | ||
clearAtlasSource():void | WebGLSubImage |
Method | Defined By | ||
---|---|---|---|
detoryResource():void [override] | WebGLSubImage | ||
recreateResource():void [override] | WebGLSubImage |
allowMerageInAtlas | property |
allowMerageInAtlas:Boolean
[read-only] 是否创建私有Source
public function get allowMerageInAtlas():Boolean
atlasImage | property |
public var atlasImage:*
atlasSource | property |
atlasSource:*
[read-only] public function get atlasSource():*
canvas | property |
public var canvas:*
HTML Canvas,绘制子图载体,非私有数据载体
enableMerageInAtlas | property |
enableMerageInAtlas:Boolean
是否创建私有Source
public function get enableMerageInAtlas():Boolean
public function set enableMerageInAtlas(value:Boolean):void
magFifter | property |
public var magFifter:int
放大过滤器
minFifter | property |
public var minFifter:int
缩小过滤器
mipmap | property |
public var mipmap:Boolean
是否使用mipLevel
offsetX | property |
public var offsetX:int = 0
offsetY | property |
public var offsetY:int = 0
repeat | property |
public var repeat:Boolean
是否使用重复模式纹理寻址
src | property |
public var src:String
WebGLSubImage | () | Constructor |
public function WebGLSubImage(canvas:*, offsetX:int, offsetY:int, width:int, height:int, atlasImage:*, src:String)
canvas:* | |
offsetX:int | |
offsetY:int | |
width:int | |
height:int | |
atlasImage:* | |
src:String |
clearAtlasSource | () | method |
public function clearAtlasSource():void
detoryResource | () | method |
override protected function detoryResource():void
recreateResource | () | method |
override protected function recreateResource():void