Expand description
Pass instruments. A BasePassInstrument is a PassInstrument whose hooks are callbacks,
such as Rust closures, that a PassContext calls around each pass.
Structs§
- Base
Pass Instrument - An instrument named
namethat calls the hooks it is created with: when a pass context is entered or exited, and before and after each pass. - Base
Pass Instrument Obj - The object behind
BasePassInstrument. - Pass
Instrument Hooks - The hooks of a
BasePassInstrument.
Functions§
- pass_
timing_ instrument - Create an instrument that times the passes, for
render_pass_timing(transform.instrument.MakePassTimingInstrument). - render_
pass_ timing - Render the pass times that a
pass_timing_instrumentrecorded (transform.instrument.RenderTimePassProfiles).
Type Aliases§
- Pass
Context Hook - A hook of a
BasePassInstrument, called when a pass context is entered or exited. - Pass
Hook - A hook of a
BasePassInstrument, called with a module and the information of the pass to run on it;Send + Synclike aPassContextHook.