ZRenderizable Impl
class ZRenderizableImpl<R : ZComponentRenderer>(component: ZBaseComponent, rendererFactory: (ZRenderingContext) -> R) : ZRenderizableMixin<R> (source)
Implementation of the ZRenderizableMixin interface that handles renderer creation and management for components.
This class encapsulates the rendering logic and provides a clean separation of concerns, allowing components to delegate rendering responsibilities without code duplication.
Parameters
component
The base component that owns this renderable implementation.
renderer Factory
A factory function that creates renderer instances.
Type Parameters
R
The type of the renderer associated with this component.