Builder

interface Builder

An interface for a framebuffer builder.

Since

v1.1.0

Types

Companion
Link copied to clipboard
object Companion

Functions

attachRenderbuffer
Link copied to clipboard
abstract fun attachRenderbuffer(type: FramebufferAttachmentType, renderbuffer: Renderbuffer): Framebuffer.Builder

Adds a renderbuffer attachment.

attachTexture
Link copied to clipboard
abstract fun attachTexture(type: FramebufferAttachmentType, texture: Texture): Framebuffer.Builder

Adds a texture image attachment.

build
Link copied to clipboard
abstract fun build(): Framebuffer

Builds a framebuffer with the added attachments.