openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
common
js
jvm
Platform filter
common
js
jvm
Switch theme
Search in API
openrndr
openrndr-draw
/
org.openrndr.draw
/
VertexBuffer
Vertex
Buffer
common
js
jvm
expect
abstract
class
VertexBuffer
:
AutoCloseable
(
source
)
actual
abstract
class
VertexBuffer
:
AutoCloseable
(
source
)
actual
abstract
class
VertexBuffer
:
AutoCloseable
(
source
)
Members
Constructors
Vertex
Buffer
Link copied to clipboard
js
jvm
constructor
(
)
constructor
(
)
Types
Companion
Link copied to clipboard
common
js
jvm
expect
object
Companion
actual
object
Companion
actual
object
Companion
Properties
session
Link copied to clipboard
common
js
jvm
expect
abstract
val
session
:
Session
?
actual
abstract
val
session
:
Session
?
actual
abstract
val
session
:
Session
?
shadow
Link copied to clipboard
common
js
jvm
expect
abstract
val
shadow
:
VertexBufferShadow
Gives a read/write shadow for the vertex buffer
actual
abstract
val
shadow
:
VertexBufferShadow
Gives a read/write shadow for the vertex buffer
actual
abstract
val
shadow
:
VertexBufferShadow
Gives a read/write shadow for the vertex buffer
vertex
Count
Link copied to clipboard
common
js
jvm
expect
abstract
val
vertexCount
:
Int
actual
abstract
val
vertexCount
:
Int
actual
abstract
val
vertexCount
:
Int
vertex
Format
Link copied to clipboard
common
js
jvm
expect
abstract
val
vertexFormat
:
VertexFormat
actual
abstract
val
vertexFormat
:
VertexFormat
actual
abstract
val
vertexFormat
:
VertexFormat
Functions
close
Link copied to clipboard
common
js
jvm
expect
abstract
fun
close
(
)
abstract
fun
close
(
)
abstract
fun
close
(
)
destroy
Link copied to clipboard
common
js
jvm
expect
abstract
fun
destroy
(
)
Destroy the vertex buffer
actual
abstract
fun
destroy
(
)
Destroy the vertex buffer
actual
abstract
fun
destroy
(
)
Destroy the vertex buffer
put
Link copied to clipboard
common
js
jvm
expect
fun
put
(
elementOffset
:
Int
=
0
,
putter
:
BufferWriter
.
(
)
->
Unit
)
:
Int
actual
fun
put
(
elementOffset
:
Int
,
putter
:
BufferWriter
.
(
)
->
Unit
)
:
Int
actual
fun
put
(
elementOffset
:
Int
,
putter
:
BufferWriter
.
(
)
->
Unit
)
:
Int
read
Link copied to clipboard
jvm
abstract
fun
read
(
data
:
ByteBuffer
,
offsetInBytes
:
Int
=
0
)
write
Link copied to clipboard
common
js
jvm
expect
abstract
fun
write
(
source
:
MPPBuffer
,
targetByteOffset
:
Int
=
0
,
sourceByteOffset
:
Int
=
0
,
byteLength
:
Int
=
source.capacity()
)
abstract
fun
write
(
data
:
FloatArray
,
offsetBytes
:
Int
,
floatCount
:
Int
)
abstract
fun
write
(
data
:
Float32Array
,
offsetBytes
:
Int
,
floatCount
:
Int
)
actual
abstract
fun
write
(
source
:
MPPBuffer
,
targetByteOffset
:
Int
,
sourceByteOffset
:
Int
,
byteLength
:
Int
)
abstract
fun
write
(
data
:
ByteBuffer
,
offsetInBytes
:
Int
=
0
)
actual
abstract
fun
write
(
source
:
MPPBuffer
,
targetByteOffset
:
Int
,
sourceByteOffset
:
Int
,
byteLength
:
Int
)