ResizableColorBuffer

class ResizableColorBuffer(width: Int, height: Int, contentScale: Double = 1.0, format: ColorFormat = ColorFormat.RGBa, type: ColorType = defaultColorType(format), multisample: BufferMultisample = BufferMultisample.Disabled, levels: Int = 1, session: Session? = Session.active)(source)

Constructors

Link copied to clipboard
constructor(width: Int, height: Int, contentScale: Double = 1.0, format: ColorFormat = ColorFormat.RGBa, type: ColorType = defaultColorType(format), multisample: BufferMultisample = BufferMultisample.Disabled, levels: Int = 1, session: Session? = Session.active)

Functions

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

Properties

Link copied to clipboard