大约有 96 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0050 秒)
... Texture2D.<anonymous> (laya.d3.js:21347) at Shader3D.__proto._uniform_sampler2D (laya.d3.js:28631) at Shader3D.__proto.uploadSpriteUniforms (laya.d3.js:28751) at RenderQueue.__proto._render (laya.d3.js:4070) at Scene.__proto._renderScene (laya.d3.js:26518) at Cam...
来源: Laya_社区 发布时间: 20171120
...ya.CONST3D2D.BYTES_PE] } }// 关于修改shader内部值的操作 假如有uniform float water_iTime setShaderValue (sprite) { // 在这里直接对 sprite.shaderValue.water_iTime += 1 } var texture = sprite.image_data const width = sprite.set_width const height = sprite.set_height var new_texture =...
来源: Laya_社区 发布时间: 20180531
...xt.RGB, Laya.WebGLContext.UNSIGNED_BYTE, this.passThroughCamera ); this.gl.uniform1i(this.samplerUniform, 0); this.gl.bindBuffer(Laya.WebGLContext.ELEMENT_ARRAY_BUFFER, this.indexBuffer); this.gl.drawElements( Laya.WebGLContext.TRIANGLES, this.indexBuffer.numItems, Laya.WebGLContext.UNSIGNED_SHORT, ...
来源: Laya_社区 发布时间: 20180726
...ex Constructors constructor Properties INSTANCETYPE_ATTRIBUTE INSTANCETYPE_UNIFORMBUFFER Methods clear getPropertyArray setNumberArray setVector2Array setVector3Array setVectorArray Constructors constructor new MaterialInstancePropertyBlock(): MaterialInstancePropertyBlock Defined in laya/d3/core/re...
来源: Laya3.0_api 发布时间: 20231115
...预更新(如材质/着色器准备、必要的编译与状态准备) Uniform/Buffer 等上传前的准备与触发 典型用途: “DrawCall 不高但还是卡”:可能卡在准备阶段(例如频繁 shader 编译、频繁 UBO 更新、频繁状态变更)。 “首帧/切换材质时...
来源: Laya3.0_文档 发布时间: 20260128
...ous> (http://127.0.0.1:55942/game/code.js:75718:8) at Shader3D.__proto._uniform_samplerCube (http://127.0.0.1:55942/game/code.js:83267:20) at Shader3D.__proto.uploadMaterialUniforms (http://127.0.0.1:55942/game/code.js:83399:25) at SkyBox.__proto._render (http://127.0.0.1:55942/game/code.js:74089...
来源: Laya_社区 发布时间: 20180307
...c) drawElements: TRIANGLES, 2793 indices, UNSIGNED_SHORT, 0UnlitVSUNLITFSuniformMatrix4fv: WebGLUniformLocation - ID: 11, false, [..(384)..]drawElements: TRIANGLES, 1296 indices, UNSIGNED_SHORT, 5586UnlitVSUNLITFSuniformMatrix4fv: WebGLUniformLocation - ID: 11, false, [..(384)..]drawElements: TRIA...
来源: Laya_社区 发布时间: 20250624
...2); //至此 模糊图片已经生成在downRenderTexture中 //设置全局uniform变量 var globalUniformNameID:number = Shader3D.propertyNameToID("u_screenTexture"); //将全局变量u_screenTexture赋值为模糊图片 buf.setGlobalTexture(globalUniformNameID,downRenderTexture); //将commandBuffe...
来源: Laya3.0_文档 发布时间: 20251010
...2); //至此 模糊图片已经生成在downRenderTexture中 //设置全局uniform变量 var globalUniformNameID:number = Shader3D.propertyNameToID("u_screenTexture"); //将全局变量u_screenTexture赋值为模糊图片 buf.setGlobalTexture(globalUniformNameID,downRenderTexture); //将commandBuffe...
来源: Laya2.0_文档 发布时间: 20210715
...e _nativeObj nativeObjID payload32bitNum updataSizeMap updateMap Accessors uniformBuffersMap Methods addDefine applyUBOData clearDefine clearUpload clone cloneTo compressMatrix4x4 compressNumber compressNumberArray compressTexture compressUBO compressVector2 compressVector3 compressVector4 destroy g...
来源: Laya3.0_api 发布时间: 20231115