openrndr / org.openrndr.draw / BufferTexture

BufferTexture

interface BufferTexture

Properties

elementCount

abstract val elementCount: Int

format

abstract val format: ColorFormat

shadow

abstract val shadow: BufferTextureShadow

type

abstract val type: ColorType

Functions

bind

abstract fun bind(unit: Int): Unit

destroy

abstract fun destroy(): Unit

put

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

Companion Object Functions

create

fun create(elementCount: Int, format: ColorFormat = ColorFormat.RGBa, type: ColorType = ColorType.FLOAT32): BufferTexture

Inheritors

BufferTextureGL3

class BufferTextureGL3 : BufferTexture