ResizableRenderTarget

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

Constructors

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

Functions

Link copied to clipboard
fun resize(renderTarget: RenderTarget)
fun resize(newWidth: Int = renderTarget.width, newHeight: Int = renderTarget.height, newContentScale: Double = renderTarget.contentScale)

Properties

Link copied to clipboard
Link copied to clipboard