interface IShaderPassData {
    additionShaderData: string[];
    is2D: boolean;
    nodeCommonMap: string[];
    pipelineMode: string;
    renderState: RenderState;
    statefirst: boolean;
    validDefine: IDefineDatas;
    destroy(): void;
    getCacheShader(defines: IDefineDatas): IShaderInstance;
    setCacheShader(
        defines: IDefineDatas,
        shaderInstance: IShaderInstance,
    ): void;
}

实现于

属性

additionShaderData: string[]
is2D: boolean
nodeCommonMap: string[]
pipelineMode: string
renderState: RenderState
statefirst: boolean
validDefine: IDefineDatas

方法