Skip to content

@orillusion/core


Variable: MAIN_COLOR_RT

const MAIN_COLOR_RT: "_MainColorRT" = '_MainColorRT'

Defined in: src/gfx/renderJob/graph/passes/GBufferResourcePass.ts:27

Graph-pool handle for the engine's main color render target. Published by GBufferResourcePass (adopt mode — wraps the shared GBufferFrame). Downstream opaque + transparent passes declare a mutator-write via b.useRenderTarget(MAIN_COLOR_RT) and open per-frame render passes through the returned handle.

Replaces the legacy TRANSPARENT_DRAW_CTX channel for new code — the latter remains published as a backwards-compatibility shim for the Sample_PassOrderControl sample.