interface IRenderContext2D {
    invertY: boolean;
    pipelineMode: string;
    sceneData: ShaderData;
    drawRenderElementList(list: SingletonList<IRenderElement2D>): number;
    drawRenderElementOne(node: IRenderElement2D): void;
    getRenderTarget(): InternalRenderTarget;
    runCMDList(cmds: IRenderCMD[]): void;
    runOneCMD(cmd: IRenderCMD): void;
    setOffscreenView(width: number, height: number): void;
    setRenderTarget(
        value: InternalRenderTarget,
        clear: boolean,
        clearColor: Color,
    ): void;
}

实现于

属性

invertY: boolean
pipelineMode: string
sceneData: ShaderData

方法