bufferTexture

fun bufferTexture(elementCount: Int, format: ColorFormat = ColorFormat.RGBa, type: ColorType = ColorType.FLOAT32, session: Session? = Session.active): BufferTexture(source)

create a BufferTexture

Parameters

elementCount

the number of elements in the buffer texture

format

the format of the elements

type

the type of the elements

session

the session that will track the BufferTexture resource