AutoMovie API
    Preparing search index...

    Interface IMaterialShaderPatch

    One named change to a material's compiled shader. Three supplies the native program configuration to each operation, including fields an external material patch may need beyond shader source and uniforms.

    interface IMaterialShaderPatch {
        apply: (shader: WebGLProgramParametersWithUniforms) => void;
        key: string;
    }
    Index
    apply: (shader: WebGLProgramParametersWithUniforms) => void

    Edits the caller's complete native program in registration order. A thrown error stops subsequent operations without rolling back prior edits.

    key: string

    Part of the cache key that distinguishes patched and plain programs.