openrndr / org.openrndr.internal.gl3 / ColorBufferDataGL3

ColorBufferDataGL3

class ColorBufferDataGL3

Constructors

<init>

ColorBufferDataGL3(width: Int, height: Int, format: ColorFormat, type: ColorType, data: ByteBuffer?)

Properties

data

var data: ByteBuffer?

format

val format: ColorFormat

height

val height: Int

type

val type: ColorType

width

val width: Int

Functions

destroy

fun destroy(): Unit

Companion Object Functions

fromFile

fun fromFile(filename: String): ColorBufferDataGL3

fromUrl

fun fromUrl(urlString: String): ColorBufferDataGL3