Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
Version: 1.0
Version: 1.1
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
gfx
GFXCommandAllocator
Class GFXCommandAllocator
GFX命令分配器。
Hierarchy
GFXObject
GFXCommandAllocator
Index
Constructors
constructor
Properties
_device
_gfx
Type
_status
Accessors
gfx
Type
status
Methods
destroy
initialize
Constructors
constructor
newGFXCommand
Allocator
(
device
:
GFXDevice
)
:
GFXCommandAllocator
构造函数。
Parameters
device:
GFXDevice
GFX设备。
Returns
GFXCommandAllocator
Properties
Protected
_device
_device
:
GFXDevice
GFX设备。
Protected
_gfx
Type
_gfx
Type
:
GFXObjectType
= GFXObjectType.UNKNOWN
对象类型。
Protected
_status
_status
:
GFXStatus
= GFXStatus.UNREADY
对象状态。
Accessors
gfx
Type
get
gfxType
(
)
:
GFXObjectType
Returns
GFXObjectType
status
get
status
(
)
:
GFXStatus
Returns
GFXStatus
Methods
Abstract
destroy
destroy
(
)
:
any
销毁函数。
Returns
any
Abstract
initialize
initialize
(
info
:
IGFXCommandAllocatorInfo
)
:
boolean
初始化函数。
Parameters
info:
IGFXCommandAllocatorInfo
GFX命令分配器描述信息。
Returns
boolean
Globals
gfx
GFXCommand
Allocator
constructor
_device
_gfx
Type
_status
gfx
Type
status
destroy
initialize
Generated using
TypeDoc
GFX命令分配器。