ResizableRenderTarget

constructor(width: Int, height: Int, contentScale: Double = 1.0, multisample: BufferMultisample = BufferMultisample.Disabled, session: Session?, builder: RenderTargetBuilder.() -> Unit)(source)

Parameters

width

The initial width of the render target.

height

The initial height of the render target.

contentScale

The scaling factor for the render target's pixel density.

multisample

The multisample configuration for the render target.

session

The session managing the GPU resources of the render target. Can be null.

builder

A function used to configure the render target during its construction.