openrndr / org.openrndr.draw / RenderTargetBuilder

RenderTargetBuilder

class RenderTargetBuilder

Constructors

<init>

RenderTargetBuilder(renderTarget: RenderTarget)

Functions

colorBuffer

fun colorBuffer(width: Int, height: Int, contentScale: Double = 1.0, format: ColorFormat = ColorFormat.RGBa, type: ColorType = ColorType.UINT8, multisample: BufferMultisample): Nothing
fun colorBuffer(colorBuffer: ColorBuffer): Unit
fun colorBuffer(name: String, colorBuffer: ColorBuffer): 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

depthBuffer

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