Skip to content

debugPipeline beta ​

Function of @v12-engine/render

ts
export declare function debugPipeline(draw: DebugDraw): {
    primitive?: GPUPrimitiveState;
    target?: {
        blend: GPUBlendState;
    };
    depth?: {
        depthWriteEnabled: boolean;
        depthCompare: GPUCompareFunction;
    };
};

What a debug draw changes of a kind's view pipeline: the wireframe its topology, the overdraw its blend and depth