attachTexture

abstract fun attachTexture(type: FramebufferAttachmentType, texture: Texture): Framebuffer.Builder

Adds a texture image attachment.

Any previously added attachment of the given type is removed.