Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidPeicho/albedo
/ functions
Functions
236 in github.com/DavidPeicho/albedo
⨍
Functions
236
◇
Types & classes
91
↓ 36 callers
Method
len
(&self)
crates/albedo_backend/src/mesh/primitive.rs:121
↓ 35 callers
Method
as_entire_binding
(&self)
crates/albedo_backend/src/gpu/buffer.rs:104
↓ 15 callers
Method
get
(&self, index: usize)
crates/albedo_lightmapper_native/src/lib.rs:18
↓ 14 callers
Method
set_pipeline
(&mut self, pipeline: wgpu::ComputePipeline)
crates/albedo_rtx/src/passes/a_trous.rs:225
↓ 11 callers
Method
size
(&self)
crates/albedo_backend/src/gpu/texture_atlas.rs:109
↓ 8 callers
Method
compile_compute
( &self, source: &str, defines: Option<&FastHashMap<String, String>>, )
crates/albedo_backend/src/data/shader_preprocessor.rs:181
↓ 8 callers
Function
get_dispatch_size
( size: &(u32, u32, u32), workgroup_size: &(u32, u32, u32), )
crates/albedo_rtx/src/lib.rs:16
↓ 7 callers
Method
slice
(&self, bounds: S)
crates/albedo_backend/src/gpu/buffer.rs:97
↓ 6 callers
Method
as_storage_slice
(&'a self)
crates/albedo_backend/src/gpu/buffer.rs:230
↓ 6 callers
Method
inner
(&self)
crates/albedo_rtx/src/layouts.rs:257
↓ 5 callers
Method
build
(&self, stride: Option<u64>)
crates/albedo_backend/src/gpu/vertex_buffer.rs:16
↓ 4 callers
Function
compute_stride
(formats: &[wgpu::VertexFormat])
crates/albedo_backend/src/mesh/primitive.rs:11
↓ 4 callers
Method
device
(&self)
crates/albedo_lightmapper_native/src/app.rs:85
↓ 3 callers
Method
auto_attribute
(self, format: wgpu::VertexFormat)
crates/albedo_backend/src/gpu/vertex_buffer.rs:31
↓ 3 callers
Method
compile_fragment
(&self, source: &str)
crates/albedo_backend/src/data/shader_preprocessor.rs:192
↓ 3 callers
Method
compile_module
( &self, source: &str, defines: FastHashMap<String, String>, stage: naga::Shad
crates/albedo_backend/src/data/shader_preprocessor.rs:199
↓ 3 callers
Method
compile_vertex
(&self, source: &str)
crates/albedo_backend/src/data/shader_preprocessor.rs:195
↓ 3 callers
Method
count
(&self)
crates/albedo_backend/src/gpu/buffer.rs:81
↓ 3 callers
Method
get
(&self, name: &str)
crates/albedo_backend/src/data/shader_preprocessor.rs:138
↓ 3 callers
Method
height
(&self)
crates/albedo_backend/src/gpu/texture_atlas.rs:46
↓ 3 callers
Method
resize
(&mut self, _: &App)
examples/example/mod.rs:116
↓ 3 callers
Method
width
(&self)
crates/albedo_backend/src/gpu/texture_atlas.rs:43
↓ 2 callers
Function
align_resolve_size
(unaligned: u64)
crates/albedo_backend/src/gpu/queries.rs:75
↓ 2 callers
Method
attribute_count
(&self)
crates/albedo_backend/src/mesh/primitive.rs:286
↓ 2 callers
Method
attribute_index
(&self, id: AttributeId)
crates/albedo_backend/src/mesh/primitive.rs:278
↓ 2 callers
Function
byte_offset_for
(formats: &[wgpu::VertexFormat], element: usize)
crates/albedo_backend/src/mesh/primitive.rs:19
↓ 2 callers
Method
create_frame_bind_groups
( &self, device: &wgpu::Device, in_rays: gpu::StorageBufferSlice<uniforms::Ray>,
crates/albedo_rtx/src/passes/ao.rs:123
↓ 2 callers
Method
inner
(&self)
crates/albedo_backend/src/gpu/buffer.rs:89
↓ 2 callers
Function
obvh_to_tinybvh
(positions: pas::Slice<'_, [f32; 4]>)
crates/albedo_rtx/src/blas.rs:54
↓ 2 callers
Method
padded_bytes
(&self)
crates/albedo_backend/src/lib.rs:33
↓ 2 callers
Method
position
(format: wgpu::VertexFormat)
crates/albedo_backend/src/mesh/primitive.rs:81
↓ 2 callers
Method
reserve_internal
(&mut self, layer: usize, alloc: Allocation)
crates/albedo_backend/src/gpu/texture_atlas.rs:113
↓ 2 callers
Method
size
(&self)
crates/albedo_math/src/aabb.rs:60
↓ 2 callers
Method
try_read_state
(&mut self, period: f32)
crates/albedo_backend/src/gpu/queries.rs:268
↓ 2 callers
Method
update
(&mut self, _: &App)
examples/example/mod.rs:118
↓ 2 callers
Method
usage
(&self)
crates/albedo_backend/src/gpu/buffer.rs:93
↓ 2 callers
Method
write
(&mut self, encoder: &mut wgpu::CommandEncoder)
crates/albedo_backend/src/gpu/queries.rs:54
↓ 1 callers
Method
add_raw
(&mut self, name: &str, content: &str)
crates/albedo_backend/src/data/shader_preprocessor.rs:88
↓ 1 callers
Method
as_uniform_slice
(&'a self)
crates/albedo_backend/src/gpu/buffer.rs:222
↓ 1 callers
Method
as_vertex_buffer_layout
(&self)
crates/albedo_backend/src/mesh/primitive.rs:334
↓ 1 callers
Method
attribute
( mut self, format: wgpu::VertexFormat, shader_location: wgpu::ShaderLocation,
crates/albedo_backend/src/gpu/vertex_buffer.rs:41
↓ 1 callers
Method
attribute_format
(&self, index: usize)
crates/albedo_backend/src/mesh/primitive.rs:282
↓ 1 callers
Method
compile
(&self, source: &str)
crates/albedo_backend/src/data/shader_preprocessor.rs:142
↓ 1 callers
Method
create_bindgroup
( &self, device: &wgpu::Device, nodes: gpu::StorageBufferSlice<uniforms::BVHNode>,
crates/albedo_rtx/src/layouts.rs:74
↓ 1 callers
Method
descriptor
(mut self, desc: gpu::BufferInitDescriptor<'a>)
crates/albedo_backend/src/mesh/primitive.rs:356
↓ 1 callers
Method
diagonal
(&self)
crates/albedo_math/src/aabb.rs:51
↓ 1 callers
Method
dispatch
( &self, encoder: &mut wgpu::CommandEncoder, frame_bind_groups: &wgpu::BindGroup,
crates/albedo_rtx/src/passes/ao.rs:170
↓ 1 callers
Method
draw
( &self, encoder: &mut wgpu::CommandEncoder, view: &wgpu::TextureView, bind_gr
crates/albedo_rtx/src/passes/lightmap.rs:195
↓ 1 callers
Method
event
(&mut self, _: &App, _: winit::event::WindowEvent)
examples/example/mod.rs:117
↓ 1 callers
Method
get_pipeline_layout
(&self)
crates/albedo_rtx/src/passes/a_trous.rs:221
↓ 1 callers
Method
layer
(&self)
crates/albedo_backend/src/gpu/texture_atlas.rs:49
↓ 1 callers
Method
layer_count
(&self)
crates/albedo_backend/src/gpu/texture_atlas.rs:105
↓ 1 callers
Method
lightmap
( &mut self, context: &GpuContext, scene_resources: &SceneGPU, )
crates/albedo_lightmapper_native/src/lib.rs:102
↓ 1 callers
Function
queries_bytes
(timestamp_count: u32)
crates/albedo_backend/src/gpu/queries.rs:80
↓ 1 callers
Function
reinterpret_vec
(mut v: Vec<T>)
crates/albedo_backend/src/data/mod.rs:6
↓ 1 callers
Method
render
(&mut self, app: &example::App, view: &wgpu::TextureView)
examples/gpu_picking/main.rs:253
↓ 1 callers
Function
rgba_bytes_per_row
(width: u32)
crates/albedo_backend/src/gpu/texture_atlas.rs:127
↓ 1 callers
Method
run_until_stalled
(&self)
examples/example/async_exec.rs:21
↓ 1 callers
Method
set_from_matrix
(&mut self, local_to_world: glam::Mat4, width: f32, height: f32)
crates/albedo_rtx/src/uniforms.rs:157
↓ 1 callers
Method
set_indices
(&mut self, data: IndexData)
crates/albedo_backend/src/mesh/primitive.rs:290
↓ 1 callers
Method
to_primitive
(&self, layout: &[AttributeDescriptor])
crates/albedo_backend/src/mesh/shapes/mod.rs:15
↓ 1 callers
Method
value_24
(&self)
crates/albedo_backend/src/data/packing.rs:12
↓ 1 callers
Method
value_8
(&self)
crates/albedo_backend/src/data/packing.rs:16
↓ 1 callers
Method
vertex_count
(&self)
crates/albedo_backend/src/mesh/primitive.rs:306
Method
add_bvh
(&mut self, mesh: MeshDescriptor)
crates/albedo_rtx/src/blas.rs:127
Method
add_bvh_indexed
(&mut self, desc: IndexedMeshDescriptor)
crates/albedo_rtx/src/blas.rs:170
Method
add_directory
( &mut self, directory: P, prefix: Option<&str>, )
crates/albedo_backend/src/data/shader_preprocessor.rs:92
Method
add_embedded
(&mut self)
crates/albedo_backend/src/data/shader_preprocessor.rs:74
Method
add_instance
(&mut self, bvh_index: u32, model_to_world: glam::Mat4, material: u32)
crates/albedo_rtx/src/blas.rs:218
Method
add_path
(&mut self, path: &Path)
crates/albedo_backend/src/data/shader_preprocessor.rs:81
Method
as_bind_group
( &self, device: &wgpu::Device, resources: &RaytraceResources, denoise: Option
crates/albedo_rtx/src/passes/shading.rs:110
Method
as_sub_binding
(&self, element_count: u64)
crates/albedo_backend/src/gpu/buffer.rs:108
Method
as_vertex_formats
()
crates/albedo_rtx/src/uniforms.rs:97
Method
attribute
(&'a self, attribute: usize)
crates/albedo_backend/src/mesh/primitive.rs:213
Method
attribute_mut
(&'a mut self, attribute: usize)
crates/albedo_backend/src/mesh/primitive.rs:225
Function
bake
(raw_slice: ImageSlice)
crates/albedo_lightmapper_native/src/lib.rs:254
Method
blocks
(&self)
crates/albedo_backend/src/gpu/texture_atlas.rs:101
Method
build
(self, device: &wgpu::Device)
crates/albedo_backend/src/mesh/primitive.rs:365
Method
byte_size
(&self)
crates/albedo_backend/src/gpu/buffer.rs:85
Method
bytes
(&self)
crates/albedo_backend/src/lib.rs:29
Method
cast
(&self)
crates/albedo_backend/src/mesh/primitive.rs:264
Method
cast_mut
(&mut self)
crates/albedo_backend/src/mesh/primitive.rs:271
Method
center
(&self)
crates/albedo_math/src/aabb.rs:47
Function
clamp
(val: T, min: T, max: T)
crates/albedo_math/src/lib.rs:28
Method
compile
( device: &wgpu::Device, processor: &ShaderCache, layout: &wgpu::PipelineLayout,
crates/albedo_backend/src/gpu/pipeline.rs:8
Method
create_atlas_allocator
(size: u32)
crates/albedo_backend/src/gpu/texture_atlas.rs:71
Method
create_frame_bind_groups
( &self, device: &wgpu::Device, view: &wgpu::TextureView, sampler: &wgpu::Samp
crates/albedo_rtx/src/passes/blit_texture_pass.rs:117
Method
create_frame_bind_groups
( &self, device: &wgpu::Device, in_rays: gpu::StorageBufferSlice<Ray>, global_
crates/albedo_rtx/src/passes/accumulation.rs:117
Method
create_frame_bind_groups
( &self, device: &wgpu::Device, out_radiance: &wgpu::TextureView, out_moments:
crates/albedo_rtx/src/passes/temporal_accumulation.rs:194
Method
create_frame_bind_groups
( &self, device: &wgpu::Device, out_radiance: &wgpu::TextureView, gbuffer: &wg
crates/albedo_rtx/src/passes/a_trous.rs:113
Method
create_frame_bind_groups
( &self, device: &wgpu::Device, view: &wgpu::TextureView, sampler: &wgpu::Samp
crates/albedo_rtx/src/passes/blit_pass.rs:129
Method
create_frame_bind_groups
( &self, device: &wgpu::Device, out_rays: gpu::StorageBufferSlice<uniforms::Ray>,
crates/albedo_rtx/src/passes/ray.rs:117
Method
create_frame_bind_groups
( &self, device: &wgpu::Device, instances: &gpu::Buffer<uniforms::Instance>, n
crates/albedo_rtx/src/passes/lightmap.rs:158
Method
create_frame_bind_groups
( &self, device: &wgpu::Device, out_intersections: gpu::StorageBufferSlice<uniforms::I
crates/albedo_rtx/src/passes/intersector.rs:92
Method
default
()
crates/albedo_math/src/aabb.rs:86
Method
default
()
crates/albedo_rtx/src/uniforms.rs:232
Method
default
()
crates/albedo_backend/src/gpu/buffer.rs:38
Method
default
()
crates/albedo_backend/src/gpu/queries.rs:28
Method
defines
()
crates/albedo_rtx/src/passes/shading.rs:278
Method
deref
(&self)
crates/albedo_rtx/src/layouts.rs:265
next →
1–100 of 236, ranked by callers