Builder

class Builder

Builder for creating BufferObject instances.

Configure the buffer size and binding type, then call build() to create the BufferObject.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Sets the binding type for this buffer object.

Link copied to clipboard
fun build(engine: Engine): BufferObject

Creates the BufferObject.

Link copied to clipboard

Associates an optional name with this BufferObject for debugging purposes.

Link copied to clipboard
fun size(byteCount: Int): BufferObject.Builder

Sets the size of this buffer in bytes.