Interface ShaderConfig

着色器库,由shader.ts初始化

Hierarchy

  • ShaderConfig

Properties

Properties

modules: {
    [moduleName: string]: string;
}

shader 模块

Type declaration

  • [moduleName: string]: string
shaders: {
    [shaderName: string]: {
        fragment: string;
        vertex: string;
    };
}

Type declaration

  • [shaderName: string]: {
        fragment: string;
        vertex: string;
    }
    • fragment: string

      从glsl读取的fragment shader

    • vertex: string

      从glsl读取的vertex shader

Generated using TypeDoc