createBufferTexture

expect abstract fun createBufferTexture(    elementCount: Int,     format: ColorFormat,     type: ColorType,     session: Session? = Session.active): BufferTexture(source)

Creates a buffer texture for storing and operating on image or pixel data.

Return

A newly created buffer texture with the specified properties.

Parameters

elementCount

The number of elements in the buffer texture.

format

The color format of the buffer texture.

type

The color type of the buffer texture.

session

The session associated with this buffer texture. Defaults to the active session.

actual abstract fun createBufferTexture(elementCount: Int, format: ColorFormat, type: ColorType, session: Session?): BufferTexture(source)
actual abstract fun createBufferTexture(elementCount: Int, format: ColorFormat, type: ColorType, session: Session?): BufferTexture(source)