正在准备搜索索引...
搜索索引不可用
LayaAir3引擎API
LayaAir3引擎API
laya/RenderEngine/RenderShader/ShaderVariantCollection
ShaderVariantCollection
类 ShaderVariantCollection
着色器变种集合。
索引
构造函数
constructor
属性
active
方法
add
compile
All
destroy
构造函数
constructor
new
Shader
Variant
Collection
(
items
?
)
:
ShaderVariantCollection
参数
可选
items
:
Record
<
string
,
IShaderVariant
[]
>
返回
ShaderVariantCollection
属性
静态
active
active
:
ShaderVariantCollection
= ...
方法
add
add
(
shaderPass
,
defines
,
is2D
)
:
void
参数
shaderPass
:
ShaderPass
defines
:
readonly
string
[]
is2D
:
boolean
返回
void
compile
All
compile
All
(
)
:
void
返回
void
destroy
destroy
(
)
:
void
返回
void
切换版本:
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
构造函数
constructor
属性
active
方法
add
compile
All
destroy
LayaAir3引擎API
加载中……
着色器变种集合。