| Package | laya.webgl.submit |
| Class | public class Submit |
| Inheritance | Submit Object |
| Implements | ISubmit |
| Subclasses | SubmitCanvas, SubmitTexture |
| Property | Defined By | ||
|---|---|---|---|
| RENDERBASE : Submit [static] | Submit | ||
| _renderType : int | Submit | ||
| shaderValue : Value2D | Submit | ||
| _startIdx : int | Submit | ||
| _vb : VertexBuffer2D | Submit | ||
| Property | Defined By | ||
|---|---|---|---|
| _blendFn : Function | Submit | ||
| _ib : IndexBuffer2D | Submit | ||
| _selfVb : VertexBuffer2D | Submit | ||
| Method | Defined By | ||
|---|---|---|---|
Submit(renderType:int) | Submit | ||
__init__():void [static] | Submit | ||
createShape(ctx:WebGLContext2D, ib:IndexBuffer2D, vb:VertexBuffer2D, numEle:int, offset:int, sv:Value2D):Submit [static] | Submit | ||
createSubmit(context:WebGLContext2D, ib:IndexBuffer2D, vb:VertexBuffer2D, pos:int, sv:Value2D):Submit [static] | Submit | ||
getRenderType():int | Submit | ||
releaseRender():void | Submit | ||
renderSubmit():int | Submit | ||
| Constant | Defined By | ||
|---|---|---|---|
| TYPE_2D : int = 10000 [static] | Submit | ||
| TYPE_BLURRT : int = 10006 [static] | Submit | ||
| TYPE_BLUR_RT : int = 10012 [static] | Submit | ||
| TYPE_CANVAS : int = 10003 [static] | Submit | ||
| TYPE_CHANGE_VALUE : int = 10014 [static] | Submit | ||
| TYPE_CMDDESTORYPRERT : int = 10007 [static] | Submit | ||
| TYPE_CMDSETRT : int = 10004 [static] | Submit | ||
| TYPE_CUSTOM : int = 10005 [static] | Submit | ||
| TYPE_DISABLESTENCIL : int = 10008 [static] | Submit | ||
| TYPE_FILLTEXTURE : int = 10017 [static] | Submit | ||
| TYPE_OTHERIBVB : int = 10009 [static] | Submit | ||
| TYPE_PRIMITIVE : int = 10010 [static] | Submit | ||
| TYPE_RT : int = 10011 [static] | Submit | ||
| TYPE_SHAPE : int = 10015 [static] | Submit | ||
| TYPE_TARGET : int = 10013 [static] | Submit | ||
| TYPE_TEXTURE : int = 10016 [static] | Submit | ||
| _blendFn | property |
protected var _blendFn:Function| _ib | property |
protected var _ib:IndexBuffer2D| _renderType | property |
public var _renderType:int| _selfVb | property |
protected var _selfVb:VertexBuffer2D| _startIdx | property |
public var _startIdx:int| _vb | property |
public var _vb:VertexBuffer2D| RENDERBASE | property |
public static var RENDERBASE:Submit| shaderValue | property |
public var shaderValue:Value2D| Submit | () | Constructor |
public function Submit(renderType:int)renderType:int (default = NaN) |
| __init__ | () | method |
public static function __init__():void| createShape | () | method |
public static function createShape(ctx:WebGLContext2D, ib:IndexBuffer2D, vb:VertexBuffer2D, numEle:int, offset:int, sv:Value2D):SubmitParameters
ctx:WebGLContext2D | |
ib:IndexBuffer2D | |
vb:VertexBuffer2D | |
numEle:int | |
offset:int | |
sv:Value2D |
Submit |
| createSubmit | () | method |
public static function createSubmit(context:WebGLContext2D, ib:IndexBuffer2D, vb:VertexBuffer2D, pos:int, sv:Value2D):SubmitParameters
context:WebGLContext2D | |
ib:IndexBuffer2D | |
vb:VertexBuffer2D | |
pos:int | |
sv:Value2D |
Submit |
| getRenderType | () | method |
public function getRenderType():intReturnsint |
| releaseRender | () | method |
public function releaseRender():void| renderSubmit | () | method |
public function renderSubmit():intReturnsint |
| TYPE_2D | Constant |
public static const TYPE_2D:int = 10000| TYPE_BLUR_RT | Constant |
public static const TYPE_BLUR_RT:int = 10012| TYPE_BLURRT | Constant |
public static const TYPE_BLURRT:int = 10006| TYPE_CANVAS | Constant |
public static const TYPE_CANVAS:int = 10003| TYPE_CHANGE_VALUE | Constant |
public static const TYPE_CHANGE_VALUE:int = 10014| TYPE_CMDDESTORYPRERT | Constant |
public static const TYPE_CMDDESTORYPRERT:int = 10007| TYPE_CMDSETRT | Constant |
public static const TYPE_CMDSETRT:int = 10004| TYPE_CUSTOM | Constant |
public static const TYPE_CUSTOM:int = 10005| TYPE_DISABLESTENCIL | Constant |
public static const TYPE_DISABLESTENCIL:int = 10008| TYPE_FILLTEXTURE | Constant |
public static const TYPE_FILLTEXTURE:int = 10017| TYPE_OTHERIBVB | Constant |
public static const TYPE_OTHERIBVB:int = 10009| TYPE_PRIMITIVE | Constant |
public static const TYPE_PRIMITIVE:int = 10010| TYPE_RT | Constant |
public static const TYPE_RT:int = 10011| TYPE_SHAPE | Constant |
public static const TYPE_SHAPE:int = 10015| TYPE_TARGET | Constant |
public static const TYPE_TARGET:int = 10013| TYPE_TEXTURE | Constant |
public static const TYPE_TEXTURE:int = 10016