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

    Interface RenderTargetSelectionOptions

    Color contract used when attachment zero is copied to the browser presentation surface.

    interface RenderTargetSelectionOptions {
        colorEncoding?: RenderColorEncoding;
        present?: boolean;
        takeOwnership?: boolean;
    }

    Hierarchy (View Summary)

    Index
    colorEncoding?: RenderColorEncoding

    Encoding stored in attachment zero. Linear input receives the final sRGB transfer. Defaults to linear; a selection's value is reused by present() when that target is implicit.

    present?: boolean

    Present attachment zero after each render.

    takeOwnership?: boolean

    Destroy the target when it is replaced or when the renderer is destroyed.