Package graphics.glimpse.ui.compose

Glimpse composable UI components.

Glimpse composable UI components.

Glimpse composable UI components.

Types

Link copied to clipboard
actual class GlimpseViewScope

Receiver scope used by GlimpseView.

expect class GlimpseViewScope

Receiver scope used by GlimpseView.

actual class GlimpseViewScope

Receiver scope used by GlimpseView.

Functions

Link copied to clipboard
@Composable
actual fun GlimpseView(    callback: GlimpseCallback,     modifier: Modifier = Modifier,     onClick: () -> Unit? = null,     update: GlimpseViewScope.() -> Unit = NoOpUpdate)

A GlimpseView displays content rendered using Glimpse OpenGL adapter and callback interface.

@Composable
expect fun GlimpseView(    callback: GlimpseCallback,     modifier: Modifier = Modifier,     onClick: () -> Unit? = null,     update: GlimpseViewScope.() -> Unit = NoOpUpdate)

A GlimpseView displays content rendered using Glimpse OpenGL adapter and callback interface.

@Composable
fun GlimpseView(    onCreate: GlimpseAdapter.() -> Unit,     onResize: GlimpseAdapter.(Offset, Size) -> Unit,     onRender: GlimpseAdapter.() -> Unit,     onDestroy: GlimpseAdapter.() -> Unit,     modifier: Modifier = Modifier,     onClick: () -> Unit? = null,     update: GlimpseViewScope.() -> Unit = NoOpUpdate)

A GlimpseView displays content rendered using Glimpse OpenGL adapter.

@Composable
actual fun GlimpseView(    callback: GlimpseCallback,     modifier: Modifier = Modifier,     onClick: () -> Unit? = null,     update: GlimpseViewScope.() -> Unit = NoOpUpdate)

A GlimpseView displays content rendered using Glimpse OpenGL adapter and callback interface.

Properties

Link copied to clipboard
val NoOpUpdate: GlimpseViewScope.() -> Unit

An empty update block used by GlimpseView.