正在准备搜索索引...
搜索索引不可用
LayaAir3引擎API
LayaAir3引擎API
laya/RenderEngine/RenderShader/ShaderPass
ShaderPass
类 ShaderPass
ShaderPass
类用于实现ShaderPass。
层级 (
查看完整内容
)
ShaderCompileDefineBase
ShaderPass
索引
构造函数
constructor
属性
_defs
_owner
_PS
_valid
Define
_VS
module
Data
name
访问器
addition
Shader
Data
attribute
Locations
node
Common
Map
pipeline
Mode
render
State
statefirst
方法
with
Complie
By
Bin
构造函数
constructor
new
Shader
Pass
(
owner
,
compiledObj
)
:
ShaderPass
参数
owner
:
SubShader
compiledObj
:
IShaderCompiledObj
返回
ShaderPass
属性
_defs
_defs
:
Set
<
string
>
_owner
_owner
:
SubShader
_PS
_PS
:
ShaderNode
_valid
Define
_valid
Define
:
IDefineDatas
_VS
_VS
:
ShaderNode
module
Data
module
Data
:
IShaderPassData
name
name
:
string
访问器
addition
Shader
Data
get
additionShaderData
(
)
:
string
[]
返回
string
[]
set
additionShaderData
(
value
)
:
void
参数
value
:
string
[]
返回
void
attribute
Locations
get
attributeLocations
(
)
:
Set
<
number
>
返回
Set
<
number
>
set
attributeLocations
(
value
)
:
void
参数
value
:
Set
<
number
>
返回
void
node
Common
Map
get
nodeCommonMap
(
)
:
string
[]
返回
string
[]
set
nodeCommonMap
(
value
)
:
void
参数
value
:
string
[]
返回
void
pipeline
Mode
get
pipelineMode
(
)
:
string
返回
string
set
pipelineMode
(
value
)
:
void
参数
value
:
string
返回
void
render
State
get
renderState
(
)
:
RenderState
渲染状态。
返回
RenderState
statefirst
get
statefirst
(
)
:
boolean
返回
boolean
set
statefirst
(
value
)
:
void
参数
value
:
boolean
返回
void
方法
with
Complie
By
Bin
with
Complie
By
Bin
(
compileDefine
,
is2D
?
,
buffer
)
:
IShaderInstance
参数
compileDefine
:
IDefineDatas
is2D
:
boolean
= false
buffer
:
ArrayBuffer
返回
IShaderInstance
切换版本:
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
构造函数
constructor
属性
_defs
_owner
_PS
_valid
Define
_VS
module
Data
name
访问器
addition
Shader
Data
attribute
Locations
node
Common
Map
pipeline
Mode
render
State
statefirst
方法
with
Complie
By
Bin
LayaAir3引擎API
加载中……
ShaderPass
类用于实现ShaderPass。