Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DioxusLabs/anyrender
/ functions
Functions
446 in github.com/DioxusLabs/anyrender
⨍
Functions
446
◇
Types & classes
134
↓ 35 callers
Method
push
(&mut self)
crates/anyrender_serialize/src/json_formatter.rs:39
↓ 29 callers
Method
as_ref
(&self)
crates/anyrender/src/types.rs:54
↓ 18 callers
Method
insert
(&mut self, key: K, resource: T)
crates/anyrender_skia/src/cache.rs:72
↓ 13 callers
Method
fill
( &mut self, style: peniko::Fill, transform: kurbo::Affine, brush: impl Into<a
crates/anyrender_skia/src/scene.rs:479
↓ 13 callers
Method
fill
( &mut self, style: Fill, transform: Affine, paint: impl Into<PaintRef<'a>>,
crates/anyrender/src/recording.rs:231
↓ 12 callers
Method
device
(&self)
crates/wgpu_context/src/buffer_renderer.rs:63
↓ 12 callers
Function
pt_from
(p: Point)
crates/anyrender_skia/src/scene.rs:1125
↓ 11 callers
Method
get_byte
(&mut self)
crates/anyrender/src/svg_path_parser.rs:228
↓ 11 callers
Method
get_maybe_relative
(&mut self, cmd: u8)
crates/anyrender/src/svg_path_parser.rs:339
↓ 11 callers
Method
render
(&mut self, _draw_fn: F)
crates/anyrender/src/null_backend.rs:49
↓ 8 callers
Method
unget
(&mut self)
crates/anyrender/src/svg_path_parser.rs:235
↓ 7 callers
Method
append_scene
(&mut self, scene: Scene, scene_transform: Affine)
crates/anyrender/src/recording.rs:300
↓ 7 callers
Function
default_config
()
crates/anyrender_serialize/tests/serialize.rs:351
↓ 7 callers
Method
opt_comma
(&mut self)
crates/anyrender/src/svg_path_parser.rs:348
↓ 7 callers
Method
to_scene
Convert this archive back to a Scene.
crates/anyrender_serialize/src/lib.rs:473
↓ 6 callers
Method
convert_brush
Convert a [`Brush`] to a [`SerializableBrush`] by registering images.
crates/anyrender_serialize/src/lib.rs:174
↓ 6 callers
Method
finish
(mut self)
crates/anyrender_vello_cpu/src/scene.rs:48
↓ 6 callers
Method
queue
(&self)
crates/wgpu_context/src/buffer_renderer.rs:67
↓ 6 callers
Method
set_backend
( &mut self, mut renderer: R, event_loop: &ActiveEventLoop, f: impl FnOnce(R)
examples/bunnymark/src/main.rs:126
↓ 6 callers
Method
set_backend
( &mut self, mut renderer: R, event_loop: &ActiveEventLoop, )
examples/player/src/main.rs:124
↓ 6 callers
Method
set_matrix
(&self, transform: kurbo::Affine)
crates/anyrender_skia/src/scene.rs:101
↓ 6 callers
Function
tile_mode_from_extend
(extend: Extend)
crates/anyrender_skia/src/scene.rs:994
↓ 5 callers
Method
get_number
(&mut self)
crates/anyrender/src/svg_path_parser.rs:250
↓ 5 callers
Method
hit
(&mut self, key: &Q)
crates/anyrender_skia/src/cache.rs:60
↓ 5 callers
Method
nodes
The list of nodes in the graph
crates/anyrender/src/filters.rs:125
↓ 5 callers
Method
opacity
Construct a CSS opacity() filter effect
crates/anyrender/src/filters.rs:466
↓ 5 callers
Method
reset_paint
(&mut self)
crates/anyrender_skia/src/scene.rs:82
↓ 5 callers
Function
serialize_to_vec
(scene: &Scene, config: &SerializeConfig)
crates/anyrender_serialize/tests/serialize.rs:361
↓ 5 callers
Method
stroke
( &mut self, style: &Stroke, transform: Affine, paint_ref: impl Into<PaintRef<
crates/anyrender/src/recording.rs:211
↓ 4 callers
Function
archive_deserialize_from_slice
(data: &[u8])
crates/anyrender_serialize/tests/serialize.rs:377
↓ 4 callers
Method
configure
(&self)
crates/wgpu_context/src/surface_renderer.rs:187
↓ 4 callers
Function
create_texture
Create a WGPU Texture, returning a default TextureView
crates/wgpu_context/src/util.rs:30
↓ 4 callers
Function
deserialize
(deserializer: D)
crates/anyrender/src/recording.rs:325
↓ 4 callers
Method
indent
(&self, writer: &mut W)
crates/anyrender_serialize/src/json_formatter.rs:32
↓ 4 callers
Function
map_transfer_function
(func: &TransferFunction)
crates/anyrender_skia/src/scene.rs:621
↓ 4 callers
Method
pop
(&mut self)
crates/anyrender_serialize/src/json_formatter.rs:45
↓ 4 callers
Method
pop_layer
(&mut self)
crates/anyrender_skia/src/scene.rs:458
↓ 4 callers
Method
push_layer
( &mut self, blend: impl Into<peniko::BlendMode>, alpha: f32, transform: kurbo
crates/anyrender_skia/src/scene.rs:417
↓ 4 callers
Method
serialize
Serialize the archive to a zip file.
crates/anyrender_serialize/src/lib.rs:523
↓ 4 callers
Method
set_paint_brush
( &mut self, brush: impl Into<anyrender::PaintRef<'a>>, brush_transform: Option<kurbo:
crates/anyrender_skia/src/scene.rs:121
↓ 4 callers
Function
sha256_hex
(data: &[u8])
crates/anyrender_serialize/src/lib.rs:328
↓ 4 callers
Method
skip_ws
(&mut self)
crates/anyrender/src/svg_path_parser.rs:203
↓ 3 callers
Function
anyrender_paint_to_vello_cpu_paint
(paint: PaintRef<'a>)
crates/anyrender_vello_cpu/src/scene.rs:11
↓ 3 callers
Function
anyrender_paint_to_vello_hybrid_paint
( paint: PaintRef<'a>, image_manager: &mut ImageManager<'_>, )
crates/anyrender_vello_hybrid/src/scene.rs:19
↓ 3 callers
Method
clear_surface_texture
(&mut self)
crates/wgpu_context/src/surface_renderer.rs:192
↓ 3 callers
Function
color4f_from_alpha_color
(color: AlphaColor<Srgb>)
crates/anyrender_skia/src/scene.rs:943
↓ 3 callers
Function
color4f_from_dynamic_color
(color: DynamicColor)
crates/anyrender_skia/src/scene.rs:952
↓ 3 callers
Method
convert_paint
(&mut self, paint: PaintRef<'_>)
crates/anyrender_vello_hybrid/src/webgl_scene.rs:75
↓ 3 callers
Method
convert_paint
(&mut self, paint_ref: PaintRef<'_>)
crates/anyrender/src/recording.rs:161
↓ 3 callers
Function
gradient_shader_cs_from_cs_tag
( color_space: ColorSpaceTag, )
crates/anyrender_skia/src/scene.rs:962
↓ 3 callers
Function
gradient_shader_hue_method_from_hue_direction
( direction: HueDirection, )
crates/anyrender_skia/src/scene.rs:982
↓ 3 callers
Function
make_1x1_image
(r: u8, g: u8, b: u8, a: u8)
crates/anyrender_serialize/tests/serialize.rs:387
↓ 3 callers
Method
next_gen
Increment the generation on the caches. Should be called once per frame.
crates/anyrender_skia/src/scene.rs:43
↓ 3 callers
Method
pop_layer
(&mut self)
crates/anyrender/src/recording.rs:207
↓ 3 callers
Function
rect_from
(rect: Rect)
crates/anyrender_skia/src/scene.rs:1054
↓ 3 callers
Method
request_redraw
(&mut self)
examples/bunnymark/src/main.rs:72
↓ 3 callers
Method
resize
(&mut self, width: u32, height: u32)
crates/wgpu_context/src/buffer_renderer.rs:79
↓ 3 callers
Function
roboto_font
()
crates/anyrender_serialize/tests/serialize.rs:407
↓ 3 callers
Method
set_paint_style
(&mut self, style: impl Into<peniko::StyleRef<'a>>)
crates/anyrender_skia/src/scene.rs:166
↓ 3 callers
Method
size
(&self)
crates/wgpu_context/src/buffer_renderer.rs:71
↓ 3 callers
Method
stroke
( &mut self, style: &kurbo::Stroke, transform: kurbo::Affine, brush: impl Into
crates/anyrender_skia/src/scene.rs:463
↓ 3 callers
Method
target_texture_view
(&self)
crates/wgpu_context/src/buffer_renderer.rs:117
↓ 2 callers
Method
acquire
Acquire the next surface frame.
crates/wgpu_context/src/surface_renderer.rs:197
↓ 2 callers
Method
add
Add a filter primitive with optional inputs. Returns a `FilterId` that can be referenced by other primitives. Automatically updates the accumulated b
crates/anyrender/src/filters.rs:112
↓ 2 callers
Function
append_path_el_to_sk_path
(path_el: &PathEl, sk_path: &mut SkPathBuilder)
crates/anyrender_skia/src/scene.rs:1145
↓ 2 callers
Function
assert_glyph_run_preserved
(restored: &Scene)
crates/anyrender_serialize/tests/serialize.rs:447
↓ 2 callers
Function
assert_scene_roundtrip
(scene: &Scene)
crates/anyrender_serialize/tests/serialize.rs:381
↓ 2 callers
Function
build_glyph_scene
(font: &FontData)
crates/anyrender_serialize/tests/serialize.rs:412
↓ 2 callers
Method
clip
(&self, shape: &impl kurbo::Shape)
crates/anyrender_skia/src/scene.rs:109
↓ 2 callers
Method
complete_resume
(&mut self)
crates/anyrender/src/null_backend.rs:35
↓ 2 callers
Method
convert_command
Convert a [`RenderCommand`] to a [`SerializableRenderCommand`].
crates/anyrender_serialize/src/lib.rs:191
↓ 2 callers
Function
convert_edge_mode
(edge_mode: EdgeMode)
crates/anyrender_vello_hybrid/src/filters.rs:53
↓ 2 callers
Function
convert_edge_mode
(edge_mode: EdgeMode)
crates/anyrender_vello_cpu/src/filters.rs:56
↓ 2 callers
Function
convert_filter
(filter: &Filter)
crates/anyrender_skia/src/scene.rs:586
↓ 2 callers
Method
copy_texture_to_buffer
(&self, cpu_buffer: &mut [u8])
crates/wgpu_context/src/buffer_renderer.rs:127
↓ 2 callers
Method
create_device
Creates a compatible device handle id.
crates/wgpu_context/src/lib.rs:240
↓ 2 callers
Method
create_surface
( width: u32, height: u32, gr_context: &mut DirectContext, gl_surface: &glutin
crates/anyrender_skia/src/opengl.rs:138
↓ 2 callers
Function
create_swapchain
( instance: &Instance, device: &Device, physical_device: PhysicalDevice, surface_fns: &Instanc
crates/anyrender_skia/src/vulkan.rs:463
↓ 2 callers
Method
current_is_pretty
(&self)
crates/anyrender_serialize/src/json_formatter.rs:57
↓ 2 callers
Method
draw
(&self, scene: &mut S, scale_factor: f64)
examples/bunnymark/src/bunny.rs:110
↓ 2 callers
Method
draw_box_shadow
( &mut self, transform: Affine, rect: Rect, brush: Color, radius: f64,
crates/anyrender/src/recording.rs:282
↓ 2 callers
Method
draw_glyphs
( &'s mut self, #[allow(unused_mut)] mut font: &'a peniko::FontData, font_size: f32,
crates/anyrender_skia/src/scene.rs:495
↓ 2 callers
Method
draw_glyphs
( &'a mut self, font: &'a FontData, font_size: f32, hint: bool, normal
crates/anyrender/src/recording.rs:251
↓ 2 callers
Method
draw_image
Utility method to draw an image at it's natural size. For more advanced image drawing use the `fill` method
crates/anyrender/src/lib.rs:333
↓ 2 callers
Method
draw_shape_with_fill
( &mut self, shape: &impl kurbo::Shape, fill: impl Into<Option<peniko::Fill>>, )
crates/anyrender_skia/src/scene.rs:206
↓ 2 callers
Method
ensure_current_surface_texture
( &mut self, )
crates/wgpu_context/src/surface_renderer.rs:223
↓ 2 callers
Method
extra_features
(&self)
crates/wgpu_context/src/lib.rs:138
↓ 2 callers
Function
fill
( scene: &mut S, error_handler: &mut F, path: &Path, transform: Affine, local_path: &BezPa
crates/anyrender_svg/src/render.rs:150
↓ 2 callers
Method
find_compatible_device_handle
Finds or creates a compatible device handle id.
crates/wgpu_context/src/lib.rs:206
↓ 2 callers
Method
find_existing_device_idx
Finds a compatible device handle id.
crates/wgpu_context/src/lib.rs:215
↓ 2 callers
Method
find_or_create_device
Finds or creates a compatible device handle id.
crates/wgpu_context/src/lib.rs:195
↓ 2 callers
Method
flush
(&mut self, surface: Surface)
crates/anyrender_skia/src/metal.rs:132
↓ 2 callers
Method
get_flag
(&mut self)
crates/anyrender/src/svg_path_parser.rs:322
↓ 2 callers
Method
get_font
(&self, id: ResourceId)
crates/anyrender_serialize/src/lib.rs:251
↓ 2 callers
Method
get_number_pair
(&mut self)
crates/anyrender/src/svg_path_parser.rs:331
↓ 2 callers
Method
get_or_cache_typeface
( &'a mut self, #[allow(unused_mut)] mut font: &'a peniko::FontData, )
crates/anyrender_skia/src/scene.rs:352
↓ 2 callers
Method
get_str
(&mut self, s: &[u8])
crates/anyrender/src/svg_path_parser.rs:239
↓ 2 callers
Method
into_ffi
(&self)
crates/anyrender/src/resource_id.rs:16
↓ 2 callers
Function
lerp_f32
(a: f32, b: f32, t: f32)
crates/anyrender_skia/src/scene.rs:582
↓ 2 callers
Method
maybe_blit_and_present
Present the texture to the surface. If there is an intermediate texture, this first blits from the intermediate texture to the surface texture. Prior
crates/wgpu_context/src/surface_renderer.rs:254
next →
1–100 of 446, ranked by callers