Preparing search index...
The search index is not available
polyly
polyly
Buffer
Class Buffer
The buffer class
Abstract
Hierarchy
Buffer
DynamicBuffer
StaticBuffer
Index
Constructors
constructor
Properties
gl
id
transform
Methods
add
Vertices
And
Indices
render
reset
update
Constructors
constructor
new
Buffer
(
gl
)
:
Buffer
Parameters
gl
:
WebGL2RenderingContext
|
WebGLRenderingContext
Returns
Buffer
Properties
gl
gl
:
WebGL2RenderingContext
|
WebGLRenderingContext
id
id
:
number
= -1
transform
transform
:
Transform
Methods
add
Vertices
And
Indices
add
Vertices
And
Indices
(
_vertices
,
_indices
)
:
void
Parameters
_vertices
:
Vertex
[]
_indices
:
number
[]
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
gl
id
transform
add
Vertices
And
Indices
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 buffer class
Abstract