Package-level declarations

Types

Link copied to clipboard

A utility class designed for efficient rendering of circles.

Link copied to clipboard

Manages loading and unloading of ColorBufferProxy objects, enabling asynchronous fetching of color buffer resources from URLs or other sources. This class also handles caching and resource cleanup for loaded buffers to optimize usage.

Link copied to clipboard
abstract class CubemapImageData(val width: Int, val height: Int, val format: ColorFormat, val type: ColorType, val mipmaps: Int, val sides: List<MPPBuffer>, val mipmapSides: List<MPPBuffer>) : AutoCloseable

Represents the image data of a cubemap, a texture with six sides corresponding to the faces of a cube. The data is stored for each side and its corresponding mipmap levels if applicable.

Link copied to clipboard

Configuration settings for saving images in the DDS format.

Link copied to clipboard
expect interface Driver

Driver interface. This is the internal interface

actual interface Driver

Driver interface. This is the internal interface

actual interface Driver

Driver interface. This is the internal interface

Link copied to clipboard
data class DriverProperties(val maxRenderTargetSamples: Int, val maxTextureSamples: Int, val maxTextureSize: Int)

Represents the properties and capabilities of a graphics driver.

Link copied to clipboard

Configuration class for saving images in the EXR format.

Link copied to clipboard

The FontImageMapDrawer class facilitates rendering of text based on a font image map. It handles generating text vertex data, applying draw styles, and efficiently managing resources like vertex buffers for text rendering tasks.

Link copied to clipboard
abstract class FontMapManager

Abstract class responsible for managing the creation of font image maps from various sources.

Link copied to clipboard
class GLSL(val version: String) : ShaderLanguage
Link copied to clipboard
class GlyphRectangle(val character: Char, val x: Double, val y: Double, val width: Double, val height: Double)
Link copied to clipboard

Configuration settings for saving images in the HDR format.

Link copied to clipboard
abstract class ImageData(val width: Int, val height: Int, val format: ColorFormat, val type: ColorType, val flipV: Boolean, var data: MPPBuffer?, val mipmapData: List<MPPBuffer> = emptyList()) : AutoCloseable

Represents image data with specific properties such as dimensions, format, type, and optional mipmap levels.

Link copied to clipboard

The ImageDrawer class is responsible for rendering 2D images and texture layers onto a drawing surface. It supports rendering images using vertex and instance attributes, enabling efficient handling of multiple render operations. The class utilizes vertex and instance buffers, shaders, and configurable parameters for rendering images within specific geometric regions.

Link copied to clipboard
interface ImageDriver

ImageDriver is responsible for probing, loading and saving images

Link copied to clipboard
sealed interface ImageSaveConfiguration

Represents a configuration interface for saving images. Classes implementing this interface define specific strategies or settings for saving image files, which may include parameters like file format, compression level, resolution, or output path.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A utility class for rendering mesh-based lines in graphical contexts. This class provides methods for drawing line segments and strips with customizable width, color, and other visual properties using shaders.

Link copied to clipboard

A utility class for efficient drawing of lines and line loops in 2D and 3D spaces.

Link copied to clipboard

Configuration settings for saving images in the PNG format.

Link copied to clipboard

A utility class for rendering points in 2D and 3D space using custom styles, shaders, and batching. Optimizes point rendering by handling vertex buffers and batching mechanisms.

Link copied to clipboard

A utility class for rendering high-quality line drawings, supporting customizable stroke styles, smooth rendering, and various line configurations including strips and loops.

Link copied to clipboard

Class responsible for high-quality polygon rendering with support for advanced features such as smooth fills, fringe widths, and customizable line joins.

Link copied to clipboard

This class is responsible for efficiently managing and rendering 2D rectangles, supporting various configurations, including batch rendering, custom dimensions, and draw styles.

Link copied to clipboard
interface ResourceThread
Link copied to clipboard

built-in shader generators

Link copied to clipboard
sealed class ShaderLanguage
Link copied to clipboard

A utility class for drawing vertex buffers with specified styles, primitives, and attributes.

Link copied to clipboard
class WebGLSL(val version: String) : ShaderLanguage

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard