Small World Engine API Reference - v0.46.1
    Preparing search index...

    Class AbstractRendererAbstract

    Base class for all renderer implementations.

    Backends are expected to implement defensive rendering strategies to prevent "silent failures":

    1. Validate that all uniforms defined in a material's layout are actually present in the compiled shader.
    2. Log warnings or errors if expected data structures (e.g., WebGPU uniform blocks) are missing or misaligned.
    3. Provide fallback values or behaviors if specific features (like rounded rects) are not supported by the hardware.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    _clearColor: Color = ...

    The clear color of the renderer.

    _lightData: LightDataInterface = ...

    Cached light data to avoid GC pressure.

    _quality: QualityConfig = ...

    Global quality settings.

    postProcessing: PostProcessingGroup = ...

    The global post processing volume/group.

    The type of the renderer.

    Accessors

    Methods