正在准备搜索索引...
搜索索引不可用
LayaAir3引擎API
LayaAir3引擎API
laya/RenderDriver/RenderModuleData/Design/IShaderPassData
IShaderPassData
接口 IShaderPassData
Blueprint Ignore
Blueprint Ignore Subclasses
interface
IShaderPassData
{
additionShaderData
:
string
[]
;
attributeLocations
?:
Set
<
number
>
;
is2D
:
boolean
;
name
:
string
;
nodeCommonMap
:
string
[]
;
pipelineMode
:
string
;
renderState
:
RenderState
;
statefirst
:
boolean
;
validDefine
:
IDefineDatas
;
destroy
(
)
:
void
;
getCacheShader
(
defines
:
IDefineDatas
)
:
IShaderInstance
;
setCacheShader
(
defines
:
IDefineDatas
,
shaderInstance
:
IShaderInstance
)
:
void
;
}
实现于
RTShaderPass
WebShaderPass
索引
属性
addition
Shader
Data
attribute
Locations?
is2D
name
node
Common
Map
pipeline
Mode
render
State
statefirst
valid
Define
方法
destroy
get
Cache
Shader
set
Cache
Shader
属性
addition
Shader
Data
addition
Shader
Data
:
string
[]
可选
attribute
Locations
attribute
Locations
?:
Set
<
number
>
is2D
is2D
:
boolean
name
name
:
string
node
Common
Map
node
Common
Map
:
string
[]
pipeline
Mode
pipeline
Mode
:
string
render
State
render
State
:
RenderState
statefirst
statefirst
:
boolean
valid
Define
valid
Define
:
IDefineDatas
方法
destroy
destroy
(
)
:
void
返回
void
get
Cache
Shader
get
Cache
Shader
(
defines
)
:
IShaderInstance
参数
defines
:
IDefineDatas
返回
IShaderInstance
set
Cache
Shader
set
Cache
Shader
(
defines
,
shaderInstance
)
:
void
参数
defines
:
IDefineDatas
shaderInstance
:
IShaderInstance
返回
void
切换版本:
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
属性
addition
Shader
Data
attribute
Locations
is2D
name
node
Common
Map
pipeline
Mode
render
State
statefirst
valid
Define
方法
destroy
get
Cache
Shader
set
Cache
Shader
LayaAir3引擎API
加载中……
Blueprint Ignore
Blueprint Ignore Subclasses