Search
Preparing search index...
The search index is not available
RAPIDS
Options
All
Public
Public/Protected
All
Inherited
Menu
RAPIDS
deck.gl/src
Buffer
Class Buffer
Hierarchy
LumaBuffer
<
this
>
Buffer
Index
Constructors
constructor
Properties
_handle
Methods
_delete
Handle
_map
Resource
_register
Resource
_set
Byte
Length
_set
Data
_unmap
Resource
_unregister
Resource
asCUDABuffer
as
Mapped
Resource
sub
Data
map
Resources
unmap
Resources
Constructors
constructor
new
Buffer
(
gl
:
WebGLRenderingContext
, props
?:
BufferProps
)
:
Buffer
new
Buffer
(
gl
:
WebGLRenderingContext
, data
:
ArrayBufferView
|
number
[]
)
:
Buffer
new
Buffer
(
gl
:
WebGLRenderingContext
, byteLength
:
number
)
:
Buffer
Parameters
gl:
WebGLRenderingContext
Optional
props:
BufferProps
Returns
Buffer
Parameters
gl:
WebGLRenderingContext
data:
ArrayBufferView
|
number
[]
Returns
Buffer
Parameters
gl:
WebGLRenderingContext
byteLength:
number
Returns
Buffer
Properties
_handle
_handle
:
any
Methods
_delete
Handle
_delete
Handle
(
)
:
void
Returns
void
_map
Resource
_map
Resource
(
handle
?:
any
)
:
Buffer
Parameters
handle:
any
= ...
Returns
Buffer
_register
Resource
_register
Resource
(
handle
?:
any
)
:
Buffer
Parameters
handle:
any
= ...
Returns
Buffer
_set
Byte
Length
_set
Byte
Length
(
byteLength
:
number
, usage
?:
number
)
:
Buffer
Parameters
byteLength:
number
usage:
number
= ...
Returns
Buffer
_set
Data
_set
Data
(
data
:
any
, offset
?:
number
, byteLength
?:
any
)
:
Buffer
Parameters
data:
any
offset:
number
= 0
byteLength:
any
= ...
Returns
Buffer
_unmap
Resource
_unmap
Resource
(
handle
?:
any
)
:
Buffer
Parameters
handle:
any
= ...
Returns
Buffer
_unregister
Resource
_unregister
Resource
(
handle
?:
any
)
:
Buffer
Parameters
handle:
any
= ...
Returns
Buffer
asCUDABuffer
asCUDABuffer
(
byteOffset
?:
number
, byteLength
?:
number
)
:
Uint8Buffer
Parameters
byteOffset:
number
= 0
byteLength:
number
= ...
Returns
Uint8Buffer
as
Mapped
Resource
as
Mapped
Resource
(
work
:
(
buffer
:
Buffer
)
=>
any
)
:
void
Parameters
work:
(
buffer
:
Buffer
)
=>
any
(
buffer
:
Buffer
)
:
any
Parameters
buffer:
Buffer
Returns
any
Returns
void
sub
Data
sub
Data
(
props
?:
any
)
:
Buffer
Parameters
props:
any
= {}
Returns
Buffer
Static
map
Resources
map
Resources
(
buffers
?:
any
[]
)
:
void
Parameters
buffers:
any
[]
= []
Returns
void
Static
unmap
Resources
unmap
Resources
(
buffers
?:
any
[]
)
:
void
Parameters
buffers:
any
[]
= []
Returns
void
Modules
cuda/src
cudf/src
cugraph/src
cuml/src
cuspatial/src
deck.gl/src
glfw/src
io/src
jsdom/src
rmm/src
sql/src
webgl/src
Buffer
constructor
_handle
_delete
Handle
_map
Resource
_register
Resource
_set
Byte
Length
_set
Data
_unmap
Resource
_unregister
Resource
asCUDABuffer
as
Mapped
Resource
sub
Data
map
Resources
unmap
Resources