Packagelaya.webgl.submit
Classpublic class SubmitTexture
InheritanceSubmitTexture Inheritance Submit Inheritance Object



Public Properties
 PropertyDefined By
  _isSameTexture : Boolean = true
SubmitTexture
  _preIsSameTextureShader : Boolean = false
SubmitTexture
 InheritedRENDERBASE : Submit
[static]
Submit
 Inherited_renderType : int
Submit
 InheritedshaderValue : Value2D
Submit
 Inherited_startIdx : int
Submit
 Inherited_vb : VertexBuffer2D
Submit
Protected Properties
 PropertyDefined By
 Inherited_blendFn : Function
Submit
 Inherited_ib : IndexBuffer2D
Submit
 Inherited_selfVb : VertexBuffer2D
Submit
  _texs : Vector.<Texture>
SubmitTexture
  _texsID : Vector.<int>
SubmitTexture
  _vbPos : Vector.<int>
SubmitTexture
Public Methods
 MethodDefined By
  
SubmitTexture(renderType:int)
SubmitTexture
 Inherited
__init__():void
[static]
Submit
  
addTexture(tex:Texture, vbpos:int):void
SubmitTexture
  
SubmitTexture
  
[static]
SubmitTexture
 Inherited
createShape(ctx:WebGLContext2D, ib:IndexBuffer2D, vb:VertexBuffer2D, numEle:int, offset:int, sv:Value2D):Submit
[static]
Submit
 Inherited
[static]
Submit
 Inherited
Submit
  
[override]
SubmitTexture
  
[override]
SubmitTexture
Public Constants
 ConstantDefined By
 InheritedTYPE_2D : int = 10000
[static]
Submit
 InheritedTYPE_BLURRT : int = 10006
[static]
Submit
 InheritedTYPE_BLUR_RT : int = 10012
[static]
Submit
 InheritedTYPE_CANVAS : int = 10003
[static]
Submit
 InheritedTYPE_CHANGE_VALUE : int = 10014
[static]
Submit
 InheritedTYPE_CMDDESTORYPRERT : int = 10007
[static]
Submit
 InheritedTYPE_CMDSETRT : int = 10004
[static]
Submit
 InheritedTYPE_CUSTOM : int = 10005
[static]
Submit
 InheritedTYPE_DISABLESTENCIL : int = 10008
[static]
Submit
 InheritedTYPE_FILLTEXTURE : int = 10017
[static]
Submit
 InheritedTYPE_OTHERIBVB : int = 10009
[static]
Submit
 InheritedTYPE_PRIMITIVE : int = 10010
[static]
Submit
 InheritedTYPE_RT : int = 10011
[static]
Submit
 InheritedTYPE_SHAPE : int = 10015
[static]
Submit
 InheritedTYPE_TARGET : int = 10013
[static]
Submit
 InheritedTYPE_TEXTURE : int = 10016
[static]
Submit
Property Detail
_isSameTextureproperty
public var _isSameTexture:Boolean = true

_preIsSameTextureShaderproperty 
public var _preIsSameTextureShader:Boolean = false

_texsproperty 
protected var _texs:Vector.<Texture>

_texsIDproperty 
protected var _texsID:Vector.<int>

_vbPosproperty 
protected var _vbPos:Vector.<int>

Constructor Detail
SubmitTexture()Constructor
public function SubmitTexture(renderType:int)



Parameters
renderType:int (default = NaN)
Method Detail
addTexture()method
public function addTexture(tex:Texture, vbpos:int):void

Parameters

tex:Texture
 
vbpos:int

checkTexture()method 
public function checkTexture():void

create()method 
public static function create(context:WebGLContext2D, ib:IndexBuffer2D, vb:VertexBuffer2D, pos:int, sv:Value2D):SubmitTexture

Parameters

context:WebGLContext2D
 
ib:IndexBuffer2D
 
vb:VertexBuffer2D
 
pos:int
 
sv:Value2D

Returns
SubmitTexture
releaseRender()method 
override public function releaseRender():void

renderSubmit()method 
override public function renderSubmit():int

Returns
int