PostProcessContext2D Type
Context handed to a Command2D.PostProcess action each frame. The renderer
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
|
The last active
|
|
|
Game services — e.g.
|
Full Usage:
Height
Field type: int
|
|
|
The active 2D light context (
|
|
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