Documentation
    Preparing search index...

    Interface StandardPipelineFactory

    What registerStandardPipeline() installs: a factory the renderer calls once per context, on the first "standard" item — never at initialize, so a scene with no StandardMaterial issues the byte-identical GL sequence it always did, and never per frame.

    interface StandardPipelineFactory {
        create(gl: WebglContext): StandardPipeline;
    }
    Index
    • Compiles the program on gl. May throw SHADER_COMPILATION_FAILED (§89); the renderer catches it — §61 forbids a frame from throwing — warns once, and draws no standard surface on that context.

      Parameters

      Returns StandardPipeline