Hilo3d API - v2.0.0
    Preparing search index...

    Interface RendererAutoOptions

    WebGPU-first asynchronous backend-selection options.

    interface RendererAutoOptions {
        alpha?: boolean;
        antialias?: boolean;
        backend?: "auto";
        clearColor?: Color;
        depth?: boolean;
        domElement?: HTMLCanvasElement | null;
        failIfMajorPerformanceCaveat?: boolean;
        fog?: Fog | null;
        forceFallbackAdapter?: boolean;
        forceMaterial?: Material | null;
        fragmentPrecision?: ShaderPrecision;
        height?: number;
        offsetX?: number;
        offsetY?: number;
        pixelRatio?: number;
        powerPreference?: RendererAdapterPowerPreference;
        premultipliedAlpha?: boolean;
        preserveDrawingBuffer?: boolean;
        renderPipeline?: RenderPipelineFactory;
        requiredFeatures?: readonly RendererFeatureName[];
        requiredLimits?: Readonly<Record<string, number>>;
        stencil?: boolean;
        useInstanced?: boolean;
        useLogDepth?: boolean;
        vertexPrecision?: ShaderPrecision;
        width?: number;
    }

    Hierarchy (View Summary)

    Index
    alpha?: boolean
    antialias?: boolean
    backend?: "auto"
    clearColor?: Color
    depth?: boolean
    domElement?: HTMLCanvasElement | null
    failIfMajorPerformanceCaveat?: boolean
    fog?: Fog | null
    forceFallbackAdapter?: boolean
    forceMaterial?: Material | null
    fragmentPrecision?: ShaderPrecision
    height?: number
    offsetX?: number
    offsetY?: number
    pixelRatio?: number
    premultipliedAlpha?: boolean
    preserveDrawingBuffer?: boolean

    Supplying this WebGL2-only option makes automatic selection choose WebGL2.

    renderPipeline?: RenderPipelineFactory

    Renderer-local scriptable pipeline factory. Defaults to ForwardRenderPipelineFactory.

    requiredFeatures?: readonly RendererFeatureName[]
    requiredLimits?: Readonly<Record<string, number>>
    stencil?: boolean
    useInstanced?: boolean
    useLogDepth?: boolean
    vertexPrecision?: ShaderPrecision
    width?: number