ReadonlyclearcoatThe clearcoat target is written (see the option).
ReadonlylitThe lit target is written (in the G-buffer's render, or in a second pass: litPass).
ReadonlylitThe lit target is a second render of the scene, not one of the G-buffer's attachments (option lit, D5480).
ReadonlylitThe second pass's target (litPass), null when lit is in the G-buffer or off.
ReadonlymotionReadonlymrtReadonlyrendererReadonlyrenderReadonlyspecularThe specular and shadingRoughness targets are written (see the option).
Readonlytexturesthree textures by target name (plus depth), for TSL sampling (debug views, composites).
The contract's convention flags for this G-buffer.
The last render's inputs (null before the first render).
The GPU handles behind the targets (valid after the first render; reallocated on resize).
Render scene from camera into the G-buffer and return the frame's inputs.
jitter: the sub-pixel offset (pixels) already applied to camera this frame, if any.
projection: the unjittered projection when camera.projectionMatrix carries jitter (e.g.
setViewOffset). It becomes camera.projection in the contract and drives motion, so motion
is unjittered; camera.projectionJittered keeps the rasterised one.
Drop the previous frame (camera cut, scene switch): the next render has prev = current and zero motion.
Renders a scene into the frame-contract G-buffer and hands out the GPU textures.
Each
render()is one frame of history: the camera struct and the motion target both take the previous render as "last frame" (two renders in one animation frame are fine). Objects keep their history in three, per draw in a velocity MRT pass: render an object in one such pass per frame (this one), or its motion goes to zero. Skinned meshes' previous bones advance once per animation frame (three). The first render and the one afterresetHistory()write zero motion. Transparent objects blend intooutput(scene colour) only; the guide targets take whatever was drawn last. Not supported:logarithmicDepthBuffer(the constructor throws).