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
gfx
Uniform
Class Uniform
GFX uniform.
Hierarchy
Uniform
Implements
IUniform
Index
Constructors
constructor
Properties
_token
count
name
type
Constructors
constructor
new
Uniform
(
name
?:
string
, type
?:
Type
, count
?:
number
)
:
Uniform
Parameters
Default value
name:
string
= ""
Default value
type:
Type
= Type.UNKNOWN
Default value
count:
number
= 1
Returns
Uniform
Properties
Private
_token
_token
:
never
count
count
:
number
name
name
:
string
type
type
:
Type
Globals
gfx
Uniform
constructor
_token
count
name
type
Generated using
TypeDoc
GFX uniform.