大约有 2,390 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0068 秒)
Laya_社区(2213) Laya3.0_api(70) Laya2.0_文档(41) Laya2.0_api(22) laya_api(21) Laya3.0_文档(17) Laya_示例(6)
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/Shader3D" Shader3D Class Shader3D Shader3D 类用于创建Shader3D。 Hierarchy Shader3D Index Constructors constructor Properties PERIOD_CAMERA PERIOD_CUSTOM PERIOD_MATERIAL PERIOD_SCENE PERIOD_SPRITE RENDER_STATE_BLE...
来源: Laya3.0_api 发布时间: 20231102
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/ShaderData" ShaderData Class ShaderData 着色器数据类。 Hierarchy ShaderData Implements IClone Index Methods addDefine clearDefine clearRuntimeCopyArray clone cloneTo cloneToForNative getAttribute getBool getBuff...
来源: Laya3.0_api 发布时间: 20231102
# Shader预编译 ###### *version :2.7.0 beta Update:2020-6-10* 在使用Shader时,引擎才会去编译Shader。所以在Shader较为复杂时,就有可能会导致显示卡顿。为了避开这些卡顿问题,就需要去预编译Shader。 > 新版本预编译Shader优化 在2.4.0版本,...
来源: Laya2.0_文档 发布时间: 20210715
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/ShaderVariantCollection" ShaderVariant Class ShaderVariant 着色器变种。 Hierarchy ShaderVariant Index Constructors constructor Accessors defineNames passIndex shader subShaderIndex Methods clone equal setValue Co...
来源: Laya3.0_api 发布时间: 20231102
# Shader预编译 ###### *version :2.4.0 Update:2019-11-12* 在使用Shader时,引擎才会去编译Shader。所以在Shader较为复杂时,就有可能会导致显示卡顿。为了避开这些卡顿问题,就需要去预编译Shader。 > 新版本预编译Shader优化 在2.4.0版本,我们...
来源: Laya2.0_文档 发布时间: 20210714
# Shader预编译 ###### *version :2.7.0beta Update:2020-6-10* 在使用Shader时,引擎才会去编译Shader。所以在Shader较为复杂时,就有可能会导致显示卡顿。为了避开这些卡顿问题,就需要去预编译Shader。 > 新版本预编译Shader优化 在2.4.0版本,我...
来源: Laya2.0_文档 发布时间: 20210714
...I DocumentationAll Packages | All Classes | Index | Frames No Frames Shader3DProperties | Methods | Constants Packagelaya.d3.shaderClasspublic class Shader3DInheritanceShader3D Object Shader3D 类用于创建Shader3D。 Public Properties PropertyDefined By debugMode : Boolean = false[st...
来源: Laya2.0_api 发布时间: 20190513
Shader预编译解决方案 ver2.5.0 {laya.d3.js} 源码分析 BaseRender.material : Laya.Material material._shaderValues : Laya.ShaderData material._shaderValues._defineDatas :Laya.DefineDatas 参考接口 _render(context) { ... this._material._shaderValues._d...
来源: Laya_社区 发布时间: 20200606
...lude ###### *version :2.7.0 Update:2020-6-9* 在构建一个比较复杂的Shader时,开发者可能会去构建一个工具库,方便自己的后续开发。在这时就需要在代码中 `addInclude` 对应类库 。 需要引用时可以按照下面的代码去添加引用即可。 **注意...
来源: Laya2.0_文档 发布时间: 20210715
# SubShader介绍 ###### *version :2.7.0beta Update:2020-6-9* **SubShader 子着色器**可以理解为Shader的渲染方案。每个Shader至少1个subShader,可以有多个subShader。 **在LayaAir3D中的SubShader属性介绍:** - 1.构造函数,需要两个参数,一个是attributeMa...
来源: Laya2.0_文档 发布时间: 20210714