Interface CustomShaderInitArgs

interface CustomShaderInitArgs {
    defines?: {
        [key: string]: any;
    };
    fragment?: Partial<FragmentShaderChunks>;
    type: (
        | "none"
        | "basic"
        | "phong"
        | "pointcloud")[];
    uniforms?: {
        [key: string]: any;
    };
    vertex?: Partial<VertexShaderChunks>;
}

Properties

defines?: {
    [key: string]: any;
}
fragment?: Partial<FragmentShaderChunks>
type: (
    | "none"
    | "basic"
    | "phong"
    | "pointcloud")[]
uniforms?: {
    [key: string]: any;
}
vertex?: Partial<VertexShaderChunks>