openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
jvm
Platform filter
jvm
Switch theme
Search in API
openrndr
openrndr-gl3
/
org.openrndr.internal.gl3
/
BufferWriterGL3
Buffer
Writer
GL3
class
BufferWriterGL3
(
val
buffer
:
ByteBuffer
,
val
elementSize
:
Int
=
1
)
:
BufferWriter
(
source
)
Members
Constructors
Buffer
Writer
GL3
Link copied to clipboard
constructor
(
buffer
:
ByteBuffer
,
elementSize
:
Int
=
1
)
Properties
buffer
Link copied to clipboard
val
buffer
:
ByteBuffer
element
Size
Link copied to clipboard
val
elementSize
:
Int
=
1
position
Link copied to clipboard
open
override
var
position
:
Int
position
Elements
Link copied to clipboard
open
override
var
positionElements
:
Int
Functions
copy
Buffer
Link copied to clipboard
open
override
fun
copyBuffer
(
sourceBuffer
:
ByteBuffer
,
sourceOffset
:
Int
,
sourceSizeInBytes
:
Int
)
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
)