Preparing search index...
The search index is not available
polyly
polyly
DynamicBuffer
Class DynamicBuffer
The dynamic buffer class
Hierarchy
Buffer
DynamicBuffer
Index
Constructors
constructor
Properties
buffer
Size
buffers
current
Buffer
Index
gl
id
transform
Methods
add
Buffer
add
Indices
add
Vertex
add
Vertices
add
Vertices
And
Indices
change
Buffer
render
reset
update
Constructors
constructor
new
Dynamic
Buffer
(
gl
,
options
)
:
DynamicBuffer
Parameters
gl
:
WebGL2RenderingContext
|
WebGLRenderingContext
options
:
DynamicBufferOptions
Returns
DynamicBuffer
Properties
Private
buffer
Size
buffer
Size
:
number
Private
buffers
buffers
:
BufferData
[]
= []
Private
current
Buffer
Index
current
Buffer
Index
:
number
= -1
gl
gl
:
WebGL2RenderingContext
|
WebGLRenderingContext
id
id
:
number
= -1
transform
transform
:
Transform
Methods
Private
add
Buffer
add
Buffer
(
)
:
void
Returns
void
Private
add
Indices
add
Indices
(
indexArray
)
:
void
Parameters
indexArray
:
number
[]
Returns
void
Private
add
Vertex
add
Vertex
(
vertex
)
:
void
Parameters
vertex
:
Vertex
Returns
void
Private
add
Vertices
add
Vertices
(
vertices
)
:
void
Parameters
vertices
:
Vertex
[]
Returns
void
add
Vertices
And
Indices
add
Vertices
And
Indices
(
vertices
,
indices
)
:
void
Parameters
vertices
:
Vertex
[]
indices
:
number
[]
Returns
void
Private
change
Buffer
change
Buffer
(
)
:
void
Returns
void
render
render
(
shaderProgramInfo
)
:
void
Parameters
shaderProgramInfo
:
ProgramInfo
Returns
void
reset
reset
(
)
:
void
Returns
void
update
update
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
buffer
Size
buffers
current
Buffer
Index
gl
id
transform
add
Buffer
add
Indices
add
Vertex
add
Vertices
add
Vertices
And
Indices
change
Buffer
render
reset
update
polyly
Buffer
BufferData
Camera
CanvasTextRenderer
Color
DebugRenderer
DynamicBuffer
Renderer
StaticBuffer
Transform
Vector
Vertex
BufferDataOptions
CanvasTextRendererOptions
DynamicBufferOptions
RendererOptions
StrokePathOptions
TextMeasurements
RGB
RGBA
Vec
Loading...
Generated using
TypeDoc
The dynamic buffer class