Package-level declarations
Functions
Link copied to clipboard
Link copied to clipboard
fun Layer.layer(colorType: ColorType = this.colorType, multisample: BufferMultisample = BufferMultisample.Disabled, function: Layer.() -> Unit): Layer
Creates a new layer within the current layer, allowing for hierarchical composition of drawings. The newly created layer inherits properties such as color type and multisample from the parent layer unless explicitly overridden. A custom lambda function can be applied to configure the new layer.
Link copied to clipboard
add a post-processing filter to the layer