class

Egui::Bench::GraphicalTextureRegistry

Inherits Egui::DummyTextureRegistry < Egui::TextureRegistry < Reference < Object

Exercises the Svg raster-texture path headless: same dummy ids as DummyTextureRegistry, but graphical? — so Svg#paint bakes its raster cache (real CPU cost) and emits ImageCmd instead of stroking vectors, matching what the sokol backend does per frame.

Instance methods

graphical?

True when #register_rgba hands out real GPU textures. The Svg raster cache (see Svg#paint) only engages on a graphical backend; the headless dummy paints nothing — specs assert on the bake buffers instead (NanoSvgCr works headless).

Source