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

Class PlotRenderer

src/plot_renderer/shader.rs:271–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269 fn byte_len(&self) -> usize {
270 self.data.len()
271 }
272
273 fn is_empty(&self) -> bool {
274 self.data.is_empty()
275 }
276
277 fn as_slice(&self) -> &[u8] {
278 &self.data
279 }
280}
281
282pub struct PlotRenderer {
283 format: TextureFormat,
284 camera_buffer: Buffer,
285 camera_bind_group: BindGroup,
286 camera_bgl: BindGroupLayout,
287 composite_bgl: BindGroupLayout,
288 composite_sampler: Sampler,
289 msaa_targets: Option<MsaaTargets>,
290 // Caches
291 pipelines: PipelineCache,
292 buffers: BufferCache,
293 versions: VersionTracker,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected