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
Fence
Class Fence
GFX Fence.
Hierarchy
Obj
Fence
Index
Constructors
constructor
Properties
_device
_gfx
Type
Accessors
gfx
Type
Methods
destroy
initialize
Constructors
constructor
new
Fence
(
device
:
Device
)
:
Fence
Parameters
device:
Device
Returns
Fence
Properties
Protected
_device
_device
:
Device
Protected
_gfx
Type
_gfx
Type
:
ObjectType
= ObjectType.UNKNOWN
Accessors
gfx
Type
get
gfxType
(
)
:
ObjectType
Returns
ObjectType
Methods
Abstract
destroy
destroy
(
)
:
void
Returns
void
Abstract
initialize
initialize
(
info
:
FenceInfo
)
:
boolean
Parameters
info:
FenceInfo
Returns
boolean
Globals
gfx
Fence
constructor
_device
_gfx
Type
gfx
Type
destroy
initialize
Generated using
TypeDoc
GFX Fence.