openrndr / org.openrndr.internal.gl3 / BufferTextureGL3

BufferTextureGL3

class BufferTextureGL3 : BufferTexture

Constructors

<init>

BufferTextureGL3(texture: Int, buffer: Int, elementCount: Int, format: ColorFormat, type: ColorType)

Properties

buffer

val buffer: Int

elementCount

val elementCount: Int

format

val format: ColorFormat

shadow

val shadow: BufferTextureShadow

texture

val texture: Int

type

val type: ColorType

Functions

bind

fun bind(unit: Int): Unit

destroy

fun destroy(): Unit

write

fun write(buffer: ByteBuffer): Unit

Inherited Functions

put

open fun put(putter: BufferWriter.() -> Unit): Int

Companion Object Functions

create

fun create(elementCount: Int, format: ColorFormat, type: ColorType): BufferTextureGL3