MCPcopy Create free account

hub / github.com/DioxusLabs/anyrender / functions

Functions446 in github.com/DioxusLabs/anyrender

Methodis_pending
(&self)
crates/anyrender_vello/src/window_renderer.rs:169
Methodis_pending
Returns `true` while an asynchronous resume is in flight (after `resume` but before `complete_resume` has succeeded). Defaults to `false` for backends
crates/anyrender/src/lib.rs:148
Methodlinear_bounds_expansion
Calculate the bounds expansion for this filter in pixel/device space. Returns a `Rect` representing how many extra pixels are needed around the filte
crates/anyrender/src/filters.rs:156
Methodlinear_list
Create a filter from an iterator of filter effects. Creates a filter graph where the effects are applied in order.
crates/anyrender/src/filters.rs:93
Functionmain
()
examples/serialize/src/main.rs:25
Functionmain
()
examples/bunnymark/src/main.rs:330
Functionmain
()
examples/player/src/main.rs:234
Methodnew
(canvas: Size)
examples/bunnymark/src/bunny.rs:19
Methodnew
()
crates/wgpu_context/src/lib.rs:113
Methodnew
Creates a new render surface for the specified window and dimensions.
crates/wgpu_context/src/surface_renderer.rs:107
Methodnew
Creates a new render surface for the specified window and dimensions.
crates/wgpu_context/src/buffer_renderer.rs:36
Methodnew
( renderer: &'a mut Renderer, resources: &'a mut Resources, device: &'a Device,
crates/anyrender_vello_hybrid/src/scene.rs:55
Methodnew
( renderer: &'a mut vello_hybrid::WebGlRenderer, resources: &'a mut vello_hybrid::Resources,
crates/anyrender_vello_hybrid/src/webgl_scene.rs:24
Methodnew
()
crates/anyrender_vello_hybrid/src/window_renderer.rs:78
Methodnew
()
crates/pixels_window_renderer/src/lib.rs:32
Methodnew
(max_depth: usize)
crates/anyrender_serialize/src/json_formatter.rs:24
Methodnew
(config: SerializeConfig)
crates/anyrender_serialize/src/font_writer.rs:44
Methodnew
(tolerance: f64)
crates/anyrender_serialize/src/lib.rs:87
Methodnew
(width: u32, height: u32)
crates/anyrender_vello_cpu/src/image_renderer.rs:14
Methodnew
(width: u32, height: u32)
crates/anyrender_vello/src/image_renderer.rs:24
Methodnew
(scene: &'s mut vello::Scene)
crates/anyrender_vello/src/scene.rs:54
Methodnew
()
crates/anyrender_vello/src/window_renderer.rs:90
Methodnew
(width: u32, height: u32)
crates/anyrender_skia/src/image_renderer.rs:20
Methodnew
( window: Arc<dyn anyrender::WindowHandle>, width: u32, height: u32, )
crates/anyrender_skia/src/vulkan.rs:66
Methodnew
(window: Arc<dyn anyrender::WindowHandle>, width: u32, height: u32)
crates/anyrender_skia/src/metal.rs:27
Methodnew
Create a new `SkiaSceneCache`
crates/anyrender_skia/src/scene.rs:38
Methodnew
(max_age: usize)
crates/anyrender_skia/src/cache.rs:36
Methodnew
()
crates/anyrender_skia/src/window_renderer.rs:37
Methodnew
( window: Arc<dyn anyrender::WindowHandle>, width: u32, height: u32, )
crates/anyrender_skia/src/opengl.rs:30
Methodnew
()
crates/anyrender/src/resource_id.rs:12
Methodnew
(data: &str)
crates/anyrender/src/svg_path_parser.rs:195
Methodnew
Create a new empty
crates/anyrender/src/recording.rs:150
Methodnew
()
crates/anyrender/src/null_backend.rs:12
Methodnew
()
crates/softbuffer_window_renderer/src/lib.rs:33
Methodnew_from_compatible_surface
Creates a `DeviceHandle` with `Device` that's compatible with the specified `Surface`
crates/wgpu_context/src/lib.rs:31
Methodnext_gen
(&mut self)
crates/anyrender_skia/src/cache.rs:44
Functionoffset_expands_in_direction_of_shift
()
crates/anyrender/src/filters.rs:563
Methodpop_layer
(&mut self)
crates/anyrender_vello_hybrid/src/scene.rs:200
Methodpop_layer
(&mut self)
crates/anyrender_vello_hybrid/src/webgl_scene.rs:131
Methodpop_layer
(&mut self)
crates/anyrender_vello_cpu/src/scene.rs:98
Methodpop_layer
(&mut self)
crates/anyrender_vello/src/scene.rs:86
Methodpop_layer
(&mut self)
crates/anyrender/src/null_backend.rs:112
Methodprepare
(&mut self)
crates/anyrender_skia/src/vulkan.rs:230
Methodprepare
(&mut self)
crates/anyrender_skia/src/opengl.rs:183
Methodpush_clip_layer
(&mut self, transform: Affine, clip: &impl Shape)
crates/anyrender_vello_hybrid/src/scene.rs:193
Methodpush_clip_layer
(&mut self, transform: Affine, clip: &impl Shape)
crates/anyrender_vello_hybrid/src/webgl_scene.rs:124
Methodpush_clip_layer
(&mut self, transform: Affine, clip: &impl Shape)
crates/anyrender_vello_cpu/src/scene.rs:92
Methodpush_clip_layer
(&mut self, transform: Affine, clip: &impl Shape)
crates/anyrender_vello/src/scene.rs:82
Methodpush_clip_layer
(&mut self, _transform: kurbo::Affine, _clip: &impl kurbo::Shape)
crates/anyrender/src/null_backend.rs:110
Methodpush_layer
( &mut self, blend: impl Into<BlendMode>, alpha: f32, transform: Affine,
crates/anyrender_vello_hybrid/src/scene.rs:175
Methodpush_layer
( &mut self, blend: impl Into<BlendMode>, alpha: f32, transform: Affine,
crates/anyrender_vello_hybrid/src/webgl_scene.rs:106
Methodpush_layer
( &mut self, blend: impl Into<BlendMode>, alpha: f32, transform: Affine,
crates/anyrender_vello_cpu/src/scene.rs:62
Methodpush_layer
( &mut self, blend: impl Into<BlendMode>, alpha: f32, transform: Affine,
crates/anyrender_vello/src/scene.rs:69
Methodpush_layer
( &mut self, _blend: impl Into<peniko::BlendMode>, _alpha: f32, _transform: ku
crates/anyrender/src/null_backend.rs:99
Methodqueue
(&self)
crates/wgpu_context/src/surface_renderer.rs:160
Methodrender
(&mut self, draw_fn: F)
crates/anyrender_vello_hybrid/src/window_renderer.rs:301
Methodrender
(&mut self, draw_fn: F)
crates/pixels_window_renderer/src/lib.rs:112
Methodrender
(&mut self, draw_fn: F)
crates/anyrender_vello/src/window_renderer.rs:290
Methodrender
(&mut self, draw_fn: F, buffer: &mut [u8])
crates/anyrender_skia/src/image_renderer.rs:79
Methodrender
(&mut self, draw_fn: F)
crates/anyrender_skia/src/window_renderer.rs:94
Methodrender
(&mut self, draw_fn: F)
crates/softbuffer_window_renderer/src/lib.rs:109
Functionrender_svg_str
Append an SVG to an [`anyrender::PaintScene`]. This will draw a red box over (some) unsupported elements.
crates/anyrender_svg/src/lib.rs:36
Functionrender_svg_str_with
Append an SVG to an [`anyrender::PaintScene`] (with custom error handling). See the [module level documentation](crate#unsupported-features) for a li
crates/anyrender_svg/src/lib.rs:50
Functionrender_to_buffer
Draw a scene to a buffer using an `ImageRenderer`
crates/anyrender/src/lib.rs:173
Methodrender_to_vec
( &mut self, draw_fn: F, buffer: &mut Vec<u8>, )
crates/anyrender_vello_cpu/src/image_renderer.rs:52
Methodrender_to_vec
( &mut self, draw_fn: F, cpu_buffer: &mut Vec<u8>, )
crates/anyrender_vello/src/image_renderer.rs:65
Methodrender_to_vec
( &mut self, draw_fn: F, buffer: &mut Vec<u8>, )
crates/anyrender_skia/src/image_renderer.rs:48
Methodrenderer_specific_context
(&self)
crates/anyrender_vello_hybrid/src/scene.rs:165
Methodrenderer_specific_context
(&self)
crates/anyrender_vello_hybrid/src/window_renderer.rs:116
Methodrenderer_specific_context
(&self)
crates/anyrender_vello/src/scene.rs:47
Methodrenderer_specific_context
(&self)
crates/anyrender_vello/src/window_renderer.rs:142
Methodrenderer_specific_context
Return a type-erased context type that is passed to custom widgets in order to enable them to render renderer-specific content
crates/anyrender/src/lib.rs:109
Methodreset
(&mut self)
crates/anyrender_vello_hybrid/src/webgl_scene.rs:102
Methodreset
(&mut self)
crates/anyrender_vello_cpu/src/image_renderer.rs:27
Methodreset
(&mut self)
crates/anyrender_vello_cpu/src/scene.rs:58
Methodreset
(&mut self)
crates/anyrender_skia/src/image_renderer.rs:46
Methodreset
(&mut self)
crates/anyrender/src/null_backend.rs:74
Methodresize
Resizes the surface to the new dimensions.
crates/wgpu_context/src/surface_renderer.rs:165
Methodresize
(&mut self, _width: u32, _height: u32)
crates/anyrender/src/null_backend.rs:72
Methodresume
( &mut self, window_handle: Arc<dyn WindowHandle>, width: u32, height: u32,
crates/anyrender_vello_hybrid/src/window_renderer.rs:179
Methodresume
( &mut self, window_handle: Arc<dyn WindowHandle>, width: u32, height: u32,
crates/pixels_window_renderer/src/lib.rs:67
Methodresume
( &mut self, window_handle: Arc<dyn WindowHandle>, width: u32, height: u32,
crates/anyrender_vello/src/window_renderer.rs:173
Methodresume
( &mut self, window: Arc<dyn anyrender::WindowHandle>, width: u32, height: u32
crates/anyrender_skia/src/window_renderer.rs:53
Methodresume
( &mut self, window_handle: Arc<dyn WindowHandle>, width: u32, height: u32,
crates/softbuffer_window_renderer/src/lib.rs:69
Methodresumed
(&mut self, event_loop: &ActiveEventLoop)
examples/bunnymark/src/main.rs:173
Methodresumed
(&mut self, event_loop: &ActiveEventLoop)
examples/player/src/main.rs:158
Methodsaturate
Construct a CSS saturate() filter effect
crates/anyrender/src/filters.rs:491
Methodsepia
Construct a CSS sepia() filter effect
crates/anyrender/src/filters.rs:496
Functionserialize
(path: &BezPath, serializer: S)
crates/anyrender/src/recording.rs:318
Methodset_present_mode
(&mut self, present_mode: wgpu::PresentMode)
crates/wgpu_context/src/surface_renderer.rs:182
Methodset_size
(&mut self, width: u32, height: u32)
crates/anyrender_vello_hybrid/src/window_renderer.rs:288
Methodset_size
(&mut self, width: u32, height: u32)
crates/anyrender_vello/src/window_renderer.rs:284
Methodset_size
(&mut self, width: u32, height: u32)
crates/anyrender_skia/src/vulkan.rs:225
Methodset_size
(&mut self, width: u32, height: u32)
crates/anyrender_skia/src/metal.rs:93
Methodset_size
(&mut self, width: u32, height: u32)
crates/anyrender_skia/src/window_renderer.rs:88
Methodset_size
(&mut self, width: u32, height: u32)
crates/anyrender_skia/src/opengl.rs:172
Methodset_size
(&mut self, _width: u32, _height: u32)
crates/anyrender/src/null_backend.rs:47
Functionsharpen_3x3
3x3 Sharpen kernel to enhance edges and details.
crates/anyrender/src/filters.rs:1215
Methodsingle
Create a filter from a single filter effect. Creates a simple filter graph with a single primitive. Use this for direct access to low-level SVG filte
crates/anyrender/src/filters.rs:83
Methodsource
(&self)
crates/anyrender_serialize/src/lib.rs:690
← previousnext →301–400 of 446, ranked by callers