Package-level declarations

Types

Link copied to clipboard

Represents the base class for components in the Zernikalos Engine.

Link copied to clipboard
interface ZBindeable

Represents a bindable resource or component in the Zernikalos framework. Classes implementing this interface indicate that they require binding prior to usage and unbinding after usage, typically for rendering or resource management purposes.

Link copied to clipboard
interface ZComponent : ZRef

Represents a component in the Zernikalos Engine that provides basic initialization and renderability functionalities. This interface is used as a foundation for defining components that interact with a ZRenderingContext.

Link copied to clipboard
abstract class ZComponentData : ZLoggable, ZRef

Represents an abstract base class for data objects associated with components in the Zernikalos Engine.

Link copied to clipboard
abstract class ZComponentRenderer : ZLoggable

Abstract base class responsible for rendering components in the Zernikalos engine. Serves as the foundation for implementing render-specific logic for components that require rendering capabilities.

Link copied to clipboard
abstract class ZComponentSerializer<T : ZComponent, D : Any> : KSerializer<T>

Abstract base class for serializing ZComponent instances.

Link copied to clipboard

Represents an abstract component in the Zernikalos Engine that combines both rendering and serialization capabilities.

Link copied to clipboard
interface ZRef

Represents a reference entity within the Zernikalos Engine.

Link copied to clipboard
abstract class ZRefComponentSerializer<T : ZComponent, D : ZComponentData, K : ZRefComponentWrapper<D>>(loaderContext: ZLoaderContext) : KSerializer<T>
Link copied to clipboard
Link copied to clipboard
interface ZRenderizable

Defines a contract for objects that can be rendered on the screen using a rendering system. Implementing classes should provide the logic for drawing their visual representation.

Link copied to clipboard

Represents an abstract component in the Zernikalos Engine that is renderizable, meaning it can produce a renderer to handle the rendering logic.

Link copied to clipboard

Implementation of the ZRenderizableMixin interface that handles renderer creation and management for components.

Link copied to clipboard

Mixin interface for components that can be rendered.

Link copied to clipboard
interface ZResizable

An interface for objects that will listen to changes on the viewport dimensions.

Link copied to clipboard

Represents an abstract component in the Zernikalos Engine that can be serialized, meaning it contains data that can be persisted and restored.

Link copied to clipboard

Implementation of the ZSerializableMixin interface that handles data management for serializable components.

Link copied to clipboard

Mixin interface for components that can be serialized.

Link copied to clipboard

Represents a viewport box for rendering objects in Zernikalos.

Link copied to clipboard
@Serializable
data class ZViewportData(var clearColor: ZColor = ZColor(.2f, .2f, .2f, 1.0f)) : ZComponentData