Taos API Reference
    Preparing search index...

    Class DebugAOPass

    Visualizes the SSAO/GTAO/HBAO+ output as a grayscale image on the backbuffer. Mirrors the debug-AO short-circuit inside CompositePass but ships as a standalone pass so non-composite pipelines can use it.

    Hierarchy (View Summary)

    • Pass<DebugAODeps, void>
      • DebugAOPass
    Index

    Properties

    Methods

    Properties

    name: "DebugAOPass" = 'DebugAOPass'

    Human-readable identifier used in graph node labels and error messages.

    Methods

    • Release every long-lived GPU resource owned by the pass (pipelines, persistent uniform buffers, samplers, BGLs). Called by the factory or application during teardown. Default implementation is a no-op.

      Returns void

    • Insert the pass into graph for one frame. Implementations call graph.addPass(name, type, b => { ... }) exactly once and use the supplied PassBuilder to declare reads, writes, transient resources, and the execute callback.

      Parameters

      • graph: RenderGraph

        Graph being built this frame.

      • deps: DebugAODeps

        Pass-specific dependency record (handles, scene data, etc.).

      Returns void

      Pass-specific output record (typically a set of handles downstream passes will consume).