openrndr / org.openrndr.draw / RenderTargetBuilder

RenderTargetBuilder

class RenderTargetBuilder (source)

Constructors

<init>

RenderTargetBuilder(renderTarget: RenderTarget)

Functions

arrayCubemap

fun arrayCubemap(name: String, arrayCubemap: ArrayCubemap, side: CubemapSide, layer: Int, level: Int = 0): Unit
fun arrayCubemap(arrayCubemap: ArrayCubemap, side: CubemapSide, layer: Int, level: Int = 0): Unit

arrayTexture

fun arrayTexture(arrayTexture: ArrayTexture, layer: Int, level: Int = 0): Unit

colorBuffer

fun colorBuffer(colorBuffer: ColorBuffer, level: Int = 0): Unit
fun colorBuffer(name: String, colorBuffer: ColorBuffer, level: Int = 0): Unit
fun colorBuffer(name: String, format: ColorFormat = ColorFormat.RGBa, type: ColorType = ColorType.UINT8): Unit
fun colorBuffer(format: ColorFormat = ColorFormat.RGBa, type: ColorType = ColorType.UINT8): Unit
fun colorBuffer(name: String, arrayTexture: ArrayTexture, layer: Int, level: Int = 0): Unit

depthBuffer

fun depthBuffer(format: DepthFormat = DepthFormat.DEPTH24_STENCIL8): Unit
fun depthBuffer(depthBuffer: DepthBuffer): Unit