Skip to content

@orillusion/core


Function: drawTransmissionContinuation()

drawTransmissionContinuation(view, cluster, state, opaqueList): void

Defined in: src/gfx/renderJob/graph/passes/_transparentDraw.ts:199

Reopen the color attachment with loadOp='load' and draw the deferred transmission-opaque continuation — opaque materials whose transmissionFactor > 0, deferred so they can sample the SceneColorPyramid for refraction.

Called by TransmissionOpaquePass. The pass owns no state of its own — everything it needs flows through state (resolved from the TRANSPARENT_DRAW_CTX graph resource), cluster (resolved by the caller from ClusterLightingPass if present), and opaqueList (pre-collected by the caller via RenderGraphPass.collectLayered, so layer / camera-mask filtering is applied before this function sees the list).

Parameters

view

View3D

cluster

ClusterLightingBuffer

state

TransparentDrawContext

opaqueList

RenderNode[]

Returns

void