大约有 400 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
...一致的编译错误 请问一下 ProtoBuf 支持 as3 版本吗? laya2.1.0版本conchMarket和IMarket接口去哪了? 问题状态 最新活动: 2020-07-07 11:23 浏览: 426 关注: 1 人
来源: Laya_社区 发布时间: 20200707
... main() { vec4 position = vec4(a_Position.xyz + a_Normal * u_OutlineWidth, 1.0); gl_Position = u_MvpMatrix * position; } ``` 片元着色器 `outline.fs` 代码如下: ```c++ #ifdef FSHIGHPRECISION precision highp float; #else precision mediump float; #endif uniform float u_OutlineLightness; uniform...
来源: Laya2.0_文档 发布时间: 20210715
...all(lessThan(writeIndex, dims))) { vec3 acc = vec3(0.0); float invFilter = 1.0 / float(filterDim); for (int f = 0; f < filterDim; ++f) { int i = center + f - filterOffset; acc += invFilter * tile[r][i]; } imageStore(outputTex, writeIndex, vec4(acc, 1.0)); } } } } GLSL End 该示例展示了 SSBO ...
来源: Laya3.0_文档 发布时间: 20260131
...at; #endif varying vec3 v_Normal; void main() { gl_FragColor=vec4(v_Normal,1.0); }`; ``` #### 2.代码中组成Shader 在代码中**"组装"** Shader,本段代码添加在 Main.ts 。 > 初始化shader ```typescript //初始化我们的自定义shader initShader() { //所有的attributeMap属性 v...
来源: Laya2.0_文档 发布时间: 20210715
... main() { vec4 position = vec4(a_Position.xyz + a_Normal * u_OutlineWidth, 1.0); gl_Position = u_MvpMatrix * position; } ``` 片元着色器 `outline.fs` 代码如下: ```c++ #ifdef FSHIGHPRECISION precision highp float; #else precision mediump float; #endif uniform float u_OutlineLightness; uniform...
来源: Laya2.0_文档 发布时间: 20210715
... layanative2 打包android平台 报错 btCollisionObject undefined Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undef...
来源: Laya_社区 发布时间: 20171205
...好2.0引擎与IDE的优势,基本上都是自己手动写的。怀疑是1.0引擎开发者过来的。 二、推荐你下载2.13.2版本的IDE( https://ldc2.layabox.com/layadownload/?type=layaairide-LayaAir%20IDE%202.13.2beta)然后,创建一个2D示例项目,该示例中,拥有各种U...
来源: Laya_社区 发布时间: 20221018
...at; #endif varying vec3 v_Normal; void main() { gl_FragColor=vec4(v_Normal,1.0); } ``` #### 2.代码中组成Shader 在代码中**"组装"** Shader,本段代码添加在 Main.ts 。 > 通过引用来导入着色器代码 ```typescript import simpleShaderFS from "./simpleShader.fs"; import simpleSh...
来源: Laya2.0_文档 发布时间: 20210715
...":48} }], "meta": { "app": "http://www.texturepacker.com", "version": "1.0", "image": "1.png", "format": "RGBA8888", "size": {"w":138,"h":52}, "scale": "1", "smartupdate": "$TexturePacker:SmartUpdate:b041bbc08e9903fc69509a32e4a1ea14$" } } 附件 : --> 2016-07-12 添加评论 免费帖 ...
来源: Laya_社区 发布时间: 20160712
...work Security -lc++.1 -lsqlite3 -lz.1 -framework SystemConfiguration -lbz2.1.0 -framework AudioToolbox -framework CoreMotion -framework AdSupport -licucore -framework AVFoundation -weak_framework UIKit -framework GLKit -framework OpenGLES -framework OpenAL -framework CoreGraphics -Xlinker -dependenc...
来源: Laya_社区 发布时间: 20180322