Builder

interface Builder

An interface for a framebuffer builder.

Since

v1.1.0

Types

Link copied to clipboard
object Companion

Functions

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

Adds a renderbuffer attachment.

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

Adds a texture image attachment.

Link copied to clipboard
abstract fun build(): Framebuffer

Builds a framebuffer with the added attachments.