ColorBufferAttachment

constructor(index: Int, name: String?, colorBuffer: ColorBuffer, level: Int, ownedByRenderTarget: Boolean)(source)

Creates a new ColorBufferAttachment.

Parameters

index

The binding index for the render target.

name

An optional name for the binding, defaults to null.

colorBuffer

The ColorBuffer object to attach.

level

The mipmap level of the attached ColorBuffer to use.

ownedByRenderTarget

Whether the ColorBuffer is owned by the render target.