大约有 431 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
...锯齿后性能下降明显,我们现给出另一种解决方案: 在 Context 类的 set2DRenderConfig 方法中,最后的位置添加以下两行gl.enable(gl.SCISSOR_TEST); gl.scissor(0, 0, RenderState2D.width, RenderState2D.height); 2022-04-28 0 0 分享 微博 QZONE 微信 HIPPOPMANANDRAPG...
来源: Laya_社区 发布时间: 20220427
...:1 Uncaught TypeError: Failed to execute 'shaderSource' on 'WebGL2RenderingContext': parameter 1 is not of type 'WebGLShader'. at ShaderInstance._createShader (laya.d3.js:1) at ShaderInstance._create (laya.d3.js:1) at new ShaderInstance (laya.d3.js:1) at ShaderPass.withCom...
来源: Laya_社区 发布时间: 20191024
...tatus; // let canvasInfo = this.getCanvasWidthHeight(); let ctx = new Laya.Context(); // let w = canvasInfo.w//tex.width; // let h = canvasInfo.h//tex.height; let w = tex.width; let h = tex.height; ctx.size(w,h); ctx.asBitmap = true; // ctx.clearRect(0,0,w,h); let _targets= ctx['_targets']; _targets...
来源: Laya_社区 发布时间: 20230328
...gt;>>evalhttp://stand.alone.version/Main.max.js apploader.js:5328 getContext type=2d /home/layabox/LayaBox/conch6git/Conch/build/conch/proj.android_studio/jni/../../../../source/conch/JSWrapper/LayaWrap/JSGlobalExportCFun.cpp:250 alert=http://stand.alone.version/Main.max.js:16077: ReferenceErr...
来源: Laya_社区 发布时间: 20190528
...ache bitmap size larger than 2048,cache ignored"); _cacheStyle.releaseContext(); _next._fun.call(_next, sprite, context, x, y); return; } 就是这个 w > 2048 导致 容器的 CacheAs 'bitmap' 废了, 很奇怪相同的代码 在 laya 2.1 中为啥没事? WaIker • 2019-10-23 23:25 算...
来源: Laya_社区 发布时间: 20180713
...a/app/com.mylafe.game.handsomecat-1/lib/arm64/liblayaair.so (v8::internal::Context::native_context()+0) [arm64-v8a] 2 #01 pc 00000000006594a4 /data/app/com.mylafe.game.handsomecat-1/lib/arm64/liblayaair.so (v8::Isolate::GetCurrentContext()+20) [arm64-v8a] 3 #02 pc 000000000065f294 /data/app/com.my...
来源: Laya_社区 发布时间: 20191214
...62-7562/com.dihong.testdcc E/libEGL: call to OpenGL ES API with no current context (logged once per thread) 05-16 15:59:48.971 7562-7585/com.dihong.testdcc W/chromium: [WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation 05-16 15:59:48.980 7562-7562/com.diho...
来源: Laya_社区 发布时间: 20190516
...个和ImageData保持一致 var ctx2dx = canvx.getContext('2d'); //获取上下文 var imgdata = ctx2dx.getImageData(0,0,canvasWidth,canvasHeight); //获取imageData,来替代ImageData 如有更棒的办法,欢迎贴出来哟。同时也希望...
来源: Laya_社区 发布时间: 20190317
...当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Number, y:Number):void 自定义更新、呈现显示对象。一般用来扩展渲染模式,请合理使用,可能会导致在加速器上无法渲染。 注意不要在此函数内增加或删除树...
来源: Laya2.0_api 发布时间: 20190513
...RINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor clientHeight clientWidth components cullingMask depthTextureFormat depthTextureMode destroyed displayedInStage enable...
来源: Laya3.0_api 发布时间: 20231115