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

    Interface ShaderImporter

    Interface for all external shader importers. An importer is responsible for parsing external shader source code (like Shadertoy, GLSLSandbox, etc.) and converting it into the engine's native CustomShaderMaterialOptions format.

    interface ShaderImporter {
        parse(sourceCode: string): CustomShaderMaterialOptions;
    }

    Implemented by

    Index