Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
gfx
ShaderStage
Class ShaderStage
Hierarchy
ShaderStage
Implements
IShaderStage
Index
Constructors
constructor
Properties
_token
source
stage
Constructors
constructor
new
Shader
Stage
(
stage
?:
ShaderStageFlagBit
, source
?:
string
)
:
ShaderStage
Parameters
Default value
stage:
ShaderStageFlagBit
= ShaderStageFlagBit.NONE
Default value
source:
string
= ""
Returns
ShaderStage
Properties
Private
_token
_token
:
never
source
source
:
string
stage
stage
:
ShaderStageFlagBit
Globals
gfx
Shader
Stage
constructor
_token
source
stage
Generated using
TypeDoc