SkiaLayer
Generic layer for Skiko rendering.
SkiaLayer implementation for macOS. Supports GraphicsApi.METAL and GraphicsApi.OPENGL.
Kotlin/Native Windows layer backed by a Win32 HWND.
Constructors
Properties
Current content scale.
The scale factor of NSWindow https://developer.apple.com/documentation/appkit/nswindow/1419459-backingscalefactor
Current content scale.
Current renderer and recovery counters for diagnostics and support tooling.
Current renderer and recovery counters for diagnostics and support tooling.
If rendering is full screen.
Fullscreen follows the attached Native host. An NSView-only attachment does not own its window.
If rendering is full screen.
True when needRender has requested a frame that has not been presented yet.
True when needRender has requested a frame that has not been presented yet.
Pixel geometry corresponding to graphics device which renders this layer
Pixel geometry corresponding to graphics device which renders this layer
Pixel geometry corresponding to graphics device which renders this layer
Current graphics API used for rendering.
Graphics API used by the native macOS renderer.
Current graphics API used for rendering.
Current view used for rendering.
Implements rendering logic and events processing.
Current view used for rendering.
Whether the attached Win32 window should expose a composited buffer with per-pixel alpha.
Functions
Attach this SkikoRenderDelegate to platform container. Actual type of attach container is platform-specific.
Attach this SkikoRenderDelegate to platform container. Actual type of attach container is platform-specific.
Detach this SkikoRenderDelegate from platform container.
Detach this SkikoRenderDelegate from platform container.
Detach this SkikoRenderDelegate from platform container.
Request redrawing of the content; The renderDelegate will be asked to re-render, and the result will be drawn on the screen.
Schedules a frame to an appropriate moment.
Request redrawing of the content; The renderDelegate will be asked to re-render, and the result will be drawn on the screen.