Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.2
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.1
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
BufferInfo
Class BufferInfo
Hierarchy
BufferInfo
Index
Constructors
constructor
Properties
_token
flags
mem
Usage
size
stride
usage
Constructors
constructor
new
Buffer
Info
(
usage
:
BufferUsage
, memUsage
:
MemoryUsage
, size
?:
number
, stride
?:
number
, flags
?:
BufferFlags
)
:
BufferInfo
Parameters
usage:
BufferUsage
memUsage:
MemoryUsage
Default value
size:
number
= 0
Default value
stride:
number
= 0
Default value
flags:
BufferFlags
= BufferFlagBit.NONE
Returns
BufferInfo
Properties
Private
_token
_token
:
never
flags
flags
:
BufferFlags
mem
Usage
mem
Usage
:
MemoryUsage
size
size
:
number
stride
stride
:
number
usage
usage
:
BufferUsage
Globals
gfx
Buffer
Info
constructor
_token
flags
mem
Usage
size
stride
usage
Generated using
TypeDoc