MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / target_attachment

Function target_attachment

src/plot_renderer/shader.rs:70–80  ·  view source on GitHub ↗
(target: &TextureView)

Source from the content-addressed store, hash-verified

68 load: LoadOp<Color>,
69) -> RenderPassColorAttachment<'a> {
70 RenderPassColorAttachment {
71 view: &targets.msaa_view,
72 resolve_target: Some(&targets.resolved_view),
73 ops: Operations {
74 load,
75 store: StoreOp::Store,
76 },
77 depth_slice: None,
78 }
79}
80
81fn target_attachment(target: &TextureView) -> RenderPassColorAttachment<'_> {
82 RenderPassColorAttachment {
83 view: target,

Callers 1

encodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected