大约有 8 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0024 秒)
...ad */ render() { this.gl.useProgram(this.program); this.gl.bindBuffer(Laya.WebGLContext.ARRAY_BUFFER, this.vertexPositionBuffer); this.gl.enableVertexAttribArray(this.vertexPositionAttribute); this.gl.vertexAttribPointer( this.vertexPositionAttribute, this.vertexPositionBuffer.itemSize, Laya.WebGLCo...
来源: Laya_社区 发布时间: 20180726
... super(vs, ps, "coolDownShader"); } } import WebGLContext = laya.webgl.WebGLContext; import Value2D = laya.webgl.shader.d2.value.Value2D; import CONST3D2D = laya.webgl.utils.CONST3D2D; export class coolDownShaderValue extends Value2D { publ...
来源: Laya_社区 发布时间: 20170606
...per(0, 0) var _vlen = 8 * Laya.CONST3D2D.BYTES_PE this.position = [2, Laya.WebGLContext.FLOAT, false, _vlen, 0] this.texcoord = [2, Laya.WebGLContext.FLOAT, false, _vlen, 2 * Laya.CONST3D2D.BYTES_PE] this.color = [4, Laya.WebGLContext.FLOAT, false, _vlen, 4 * Laya.CONST3D2D.BYTES_PE] } }// 关于修...
来源: Laya_社区 发布时间: 20180531
...per(0, 0) var _vlen = 8 * Laya.CONST3D2D.BYTES_PE this.position = [2, Laya.WebGLContext.FLOAT, false, _vlen, 0] this.texcoord = [2, Laya.WebGLContext.FLOAT, false, _vlen, 2 * Laya.CONST3D2D.BYTES_PE] this.color = [4, Laya.WebGLContext.FLOAT, false, _vlen, 4 * Laya.CONST3D2D.BYTES_PE] } } sprit...
来源: Laya_社区 发布时间: 20180313
...ce渲染方案 优点:instance变量多,灵活 缺点:合并数量受WebGLContext._maxUniformFragmentVectors的影响,合并效率低 Methods clear clear(): void Defined in laya/d3/core/render/command/MaterialInstancePropertyBlock.ts:150 Returns void getPropertyArray getPropertyArray(attribu...
来源: Laya3.0_api 发布时间: 20231115
...buffer : *Buffer _bufferType : intBuffer _bufferUsage : intBuffer _gl : WebGLContext[static] Buffer _glBuffer : *BufferPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By VertexBuffer3D(vertexDeclaration:VertexDeclaration, vertexCount:int, bufferUsage:...
来源: laya_api 发布时间: 20170929
...fer=new VertexBuffer3D(vertexDeclaration,this._numberVertices,/*laya.webgl.WebGLContext.STATIC_DRAW*/0x88E4,true); this._indexBuffer=new IndexBuffer3D(/*laya.d3.graphics.IndexBuffer3D.INDEXTYPE_USHORT*/"ushort",this._numberIndices,/*laya.webgl.WebGLContext.STATIC_DRAW*/0x88E4,true); this._vertexBuff...
来源: Laya_社区 发布时间: 20180113
...jects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:47635:43) at WebGLContext2D.__proto.submitElement (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:36059:30) at WebGLContext2D.__proto.flush (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main...
来源: Laya_社区 发布时间: 20170626