Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
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
material
IProgramInfo
Interface IProgramInfo
Hierarchy
IShaderInfo
IProgramInfo
Index
Properties
attributes
blocks
builtins
defines
effect
Name
glsl1
glsl3
glsl4
hash
name
samplers
uber
Properties
attributes
attributes
:
IAttributeInfo
[]
blocks
blocks
:
IBlockInfo
[]
builtins
builtins
:
{
globals
:
IBuiltinInfo
;
locals
:
IBuiltinInfo
}
Type declaration
globals
:
IBuiltinInfo
locals
:
IBuiltinInfo
defines
defines
:
IDefineRecord
[]
effect
Name
effect
Name
:
string
glsl1
glsl1
:
{
frag
:
string
;
vert
:
string
}
Type declaration
frag
:
string
vert
:
string
glsl3
glsl3
:
{
frag
:
string
;
vert
:
string
}
Type declaration
frag
:
string
vert
:
string
glsl4
glsl4
:
{
frag
:
string
;
vert
:
string
}
Type declaration
frag
:
string
vert
:
string
hash
hash
:
number
name
name
:
string
samplers
samplers
:
ISamplerInfo
[]
uber
uber
:
boolean
Globals
material
IProgram
Info
attributes
blocks
builtins
defines
effect
Name
glsl1
glsl3
glsl4
hash
name
samplers
uber
Generated using
TypeDoc