openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
js
Platform filter
js
Switch theme
Search in API
openrndr
openrndr-webgl
/
org.openrndr.webgl
/
BufferWriterWebGL
Buffer
Writer
Web
GL
class
BufferWriterWebGL
(
val
buffer
:
Float32Array
,
val
elementSize
:
Int
)
:
BufferWriter
(
source
)
Members
Constructors
Buffer
Writer
Web
GL
Link copied to clipboard
constructor
(
buffer
:
Float32Array
,
elementSize
:
Int
)
Properties
buffer
Link copied to clipboard
val
buffer
:
Float32Array
element
Size
Link copied to clipboard
val
elementSize
:
Int
position
Link copied to clipboard
open
override
var
position
:
Int
position
Elements
Link copied to clipboard
open
override
var
positionElements
:
Int
Functions
rewind
Link copied to clipboard
open
override
fun
rewind
(
)
write
Link copied to clipboard
open
override
fun
write
(
vararg
v
:
Vector3
)
open
override
fun
write
(
v
:
Byte
)
open
override
fun
write
(
v
:
Float
)
open
override
fun
write
(
v
:
Int
)
open
override
fun
write
(
v
:
Short
)
open
override
fun
write
(
v
:
ColorRGBa
)
open
override
fun
write
(
v
:
IntVector2
)
open
override
fun
write
(
v
:
IntVector3
)
open
override
fun
write
(
v
:
IntVector4
)
open
override
fun
write
(
v
:
Matrix33
)
open
override
fun
write
(
v
:
Matrix44
)
open
override
fun
write
(
v
:
Vector2
)
open
override
fun
write
(
v
:
Vector3
)
open
override
fun
write
(
v
:
Vector4
)
open
override
fun
write
(
x
:
Float
,
y
:
Float
)
open
override
fun
write
(
x
:
Float
,
y
:
Float
,
z
:
Float
)
open
override
fun
write
(
a
:
FloatArray
,
offset
:
Int
,
size
:
Int
)
open
override
fun
write
(
x
:
Float
,
y
:
Float
,
z
:
Float
,
w
:
Float
)