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
DescriptorSetLayout
Class DescriptorSetLayout
GFX 描述符集布局。
Hierarchy
Obj
DescriptorSetLayout
Index
Constructors
constructor
Properties
_binding
Indices
_bindings
_descriptor
Indices
_device
_gfx
Type
Accessors
binding
Indices
bindings
descriptor
Indices
gfx
Type
Methods
destroy
initialize
Constructors
constructor
new
Descriptor
Set
Layout
(
device
:
Device
)
:
DescriptorSetLayout
Parameters
device:
Device
Returns
DescriptorSetLayout
Properties
Protected
_binding
Indices
_binding
Indices
:
number
[]
= []
Protected
_bindings
_bindings
:
DescriptorSetLayoutBinding
[]
= []
Protected
_descriptor
Indices
_descriptor
Indices
:
number
[]
= []
Protected
_device
_device
:
Device
Protected
_gfx
Type
_gfx
Type
:
ObjectType
= ObjectType.UNKNOWN
Accessors
binding
Indices
get
bindingIndices
(
)
:
number
[]
Returns
number
[]
bindings
get
bindings
(
)
:
DescriptorSetLayoutBinding
[]
Returns
DescriptorSetLayoutBinding
[]
descriptor
Indices
get
descriptorIndices
(
)
:
number
[]
Returns
number
[]
gfx
Type
get
gfxType
(
)
:
ObjectType
Returns
ObjectType
Methods
Abstract
destroy
destroy
(
)
:
void
Returns
void
Abstract
initialize
initialize
(
info
:
DescriptorSetLayoutInfo
)
:
boolean
Parameters
info:
DescriptorSetLayoutInfo
Returns
boolean
Globals
gfx
Descriptor
Set
Layout
constructor
_binding
Indices
_bindings
_descriptor
Indices
_device
_gfx
Type
binding
Indices
bindings
descriptor
Indices
gfx
Type
destroy
initialize
Generated using
TypeDoc
GFX 描述符集布局。