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
abstract class ZDataRenderComponent<D : ZComponentData, R : ZComponentRenderer>(data: D) : ZSerializableComponent<D> , ZRenderCapability, ZHasRenderer<R>

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

Link copied to clipboard
interface ZHasComponentData<out D : Any>

Contract for components that expose serializable data.

Link copied to clipboard

Contract for components that expose a renderer instance.

Link copied to clipboard
interface ZRef

Represents a reference entity within the Zernikalos Engine.

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
abstract class ZRenderizableComponent<R : ZComponentRenderer> : ZBaseComponent, ZRenderCapability, ZHasRenderer<R>

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
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

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