Skip to main content

Module targets

Module targets 

Source

Structs§

ColorTarget
One color attachment for a Pass. attachment: None means “the swapchain’s own view” — pass a TextureView to render into your own texture instead (e.g. for post-processing).
ColorTargetBuilder
DepthTarget
A depth attachment for a Pass — unlike a color target, always pointed at your own texture (there’s no swapchain depth buffer).
DepthTargetBuilder
Pass
What to render into, passed to Frame::begin. Zero color targets plus a depth target is a valid, depth-only pass (e.g. a shadow map).
PassBuilder