ZDataRenderComponent
abstract class ZDataRenderComponent<D : ZComponentData, R : ZComponentRenderer>(data: D) : ZSerializableComponent<D> , ZRenderCapability, ZHasRenderer<R> (source)
Represents an abstract component in the Zernikalos Engine that combines both rendering and serialization capabilities.
This component can be both rendered on screen and serialized to persistent storage, making it ideal for complex objects that need to maintain their visual state across application sessions.
Classes inheriting from this component must define how to create their specific renderer type and provide serializable data.
Type Parameters
D
The type of the data associated with this component. It must inherit from ZComponentData.
R
The type of the renderer associated with this component. It must inherit from ZComponentRenderer.