PostProcessContext3D Type
Context handed to a Command3D.PostProcess action each frame. The pipeline
has already rendered the scene to Source and entered the destination render
target (a pooled ping-pong RT, or the back-buffer for the last pass). The action
resolves its own shader, sets model-derived params, and draws a fullscreen quad of
Source.
Record fields
| Record Field |
Description
|
|
Game services — e.g.
|
Camera-POV depth (NDC z in [0,1]). Populated only when the view emitted at least one Command3D.PostProcessWithDepth action this frame; otherwise ValueOption. Linearize with the camera's near/far planes to get view-space distance (fog, depth-of-field, SSAO).
|
|
Full Usage:
Height
Field type: int
|
|
|
Current ping-pong source (the scene RT on the first pass).
|
Full Usage:
Time
Field type: float32
|
Accumulated frame time in seconds, for animated effects.
|
Full Usage:
Width
Field type: int
|
|
Mibo