Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Wumpf/blub
/ functions
Functions
222 in github.com/Wumpf/blub
⨍
Functions
222
◇
Types & classes
78
↓ 65 callers
Method
next_binding_compute
(self, ty: wgpu::BindingType)
src/wgpu_utils/binding_builder.rs:35
↓ 65 callers
Method
texture
(self, texture_view: &'a wgpu::TextureView)
src/wgpu_utils/binding_builder.rs:96
↓ 61 callers
Method
create
(self, device: &wgpu::Device, label: &str)
src/wgpu_utils/binding_builder.rs:55
↓ 46 callers
Method
resource
Uses same binding index as binding group layout at the same ordering
src/wgpu_utils/binding_builder.rs:82
↓ 27 callers
Function
texture3D
()
src/wgpu_utils/binding_glsl.rs:58
↓ 26 callers
Method
create_compute_pipeline
( &mut self, device: &wgpu::Device, shader_dir: &ShaderDirectory, desc: Comput
src/wgpu_utils/pipelines.rs:167
↓ 24 callers
Function
buffer
(read_only: bool)
src/wgpu_utils/binding_glsl.rs:3
↓ 18 callers
Function
image3D
(format: wgpu::TextureFormat, access: wgpu::StorageTextureAccess)
src/wgpu_utils/binding_glsl.rs:106
↓ 17 callers
Method
texture
(&self)
src/render_output/hdr_backbuffer.rs:84
↓ 12 callers
Method
create_render_pipeline
( &mut self, device: &wgpu::Device, shader_dir: &ShaderDirectory, desc: Render
src/wgpu_utils/pipelines.rs:194
↓ 11 callers
Function
create_volume_texture_desc
(label: &str, grid_dimension: wgpu::Extent3d, format: wgpu::TextureFormat)
src/simulation/pressure_solver.rs:10
↓ 11 callers
Method
next_binding
(self, visibility: wgpu::ShaderStage, ty: wgpu::BindingType)
src/wgpu_utils/binding_builder.rs:25
↓ 11 callers
Method
next_binding_vertex
(self, ty: wgpu::BindingType)
src/wgpu_utils/binding_builder.rs:43
↓ 10 callers
Method
get_render
(&self, handle: &RenderPipelineHandle)
src/wgpu_utils/pipelines.rs:261
↓ 10 callers
Method
resolution
(&self)
src/render_output/screen.rs:128
↓ 8 callers
Method
fill_global_uniform_buffer
(&self)
src/timer.rs:166
↓ 8 callers
Function
texture2D
()
src/wgpu_utils/binding_glsl.rs:26
↓ 5 callers
Method
bind_group_layout
(&self)
src/global_bindings.rs:107
↓ 5 callers
Method
config
(&self)
src/scene/mod.rs:101
↓ 5 callers
Method
simulation_delta
(&self)
src/timer.rs:128
↓ 5 callers
Function
uniform
()
src/wgpu_utils/binding_glsl.rs:11
↓ 4 callers
Method
binding_resource
(&self)
src/wgpu_utils/uniformbuffer.rs:61
↓ 4 callers
Function
compute_group_size_1d
(resource_size: u32, group_local_size: u32)
src/wgpu_utils/mod.rs:18
↓ 4 callers
Method
end_frame
(&mut self, frame: wgpu::SwapChainTexture)
src/render_output/screen.rs:199
↓ 4 callers
Method
pressure_solver_config_density
(&mut self)
src/simulation/hybrid_fluid.rs:747
↓ 4 callers
Method
pressure_view
(&self)
src/simulation/pressure_solver.rs:144
↓ 4 callers
Method
process_pending_screenshots
(&mut self)
src/render_output/screenshot_capture.rs:106
↓ 4 callers
Method
status
(&self)
src/simulation_controller.rs:67
↓ 4 callers
Method
timer
(&self)
src/simulation_controller.rs:51
↓ 4 callers
Method
try_create_pipeline
(&self, device: &wgpu::Device, shader_dir: &ShaderDirectory)
src/wgpu_utils/pipelines.rs:27
↓ 3 callers
Method
bind_group_layout
(&self)
src/renderer/background.rs:265
↓ 3 callers
Method
bind_group_renderer
(&self)
src/simulation/hybrid_fluid.rs:723
↓ 3 callers
Method
create_bind_group
(&mut self, device: &wgpu::Device, ubo: &GlobalUBO, meshes: &SceneModels)
src/global_bindings.rs:43
↓ 3 callers
Function
delta_from_steps_per_second
(steps_per_second: u64)
src/simulation_controller.rs:33
↓ 3 callers
Method
force_frame_delta
Forces a given frame delta (timestep on the rendering timeline) Usually the frame delta is just the time between the last two on_frame_submitted calls
src/timer.rs:70
↓ 3 callers
Function
image2D
(format: wgpu::TextureFormat, access: wgpu::StorageTextureAccess)
src/wgpu_utils/binding_glsl.rs:90
↓ 3 callers
Method
load_shader_module
(&self, device: &wgpu::Device, relative_path: &Path)
src/wgpu_utils/shader.rs:73
↓ 3 callers
Method
next_binding_all
(self, ty: wgpu::BindingType)
src/wgpu_utils/binding_builder.rs:51
↓ 3 callers
Method
pause_or_resume
(&mut self)
src/simulation_controller.rs:71
↓ 3 callers
Function
plot_barchart
( ui: &mut egui::Ui, size: Vec2, values: &[f32], top_value: f32, value_unit: &'static str,
src/gui/custom_widgets.rs:3
↓ 3 callers
Method
pressure_solver_config_velocity
(&mut self)
src/simulation/hybrid_fluid.rs:743
↓ 3 callers
Method
restart
(&mut self)
src/simulation_controller.rs:89
↓ 3 callers
Method
total_simulated_time
Total time simulated
src/timer.rs:154
↓ 2 callers
Method
aspect_ratio
(&self)
src/render_output/screen.rs:124
↓ 2 callers
Method
bind_group
(&self)
src/global_bindings.rs:103
↓ 2 callers
Method
binding
(mut self, binding: wgpu::BindGroupLayoutEntry)
src/wgpu_utils/binding_builder.rs:19
↓ 2 callers
Method
clamp_to_grid
(&self, grid_cor: cgmath::Point3<f32>)
src/simulation/hybrid_fluid.rs:609
↓ 2 callers
Function
default_read_write
(format: wgpu::TextureFormat)
src/wgpu_utils/pipelines.rs:269
↓ 2 callers
Method
draw
(&'a self, rpass: &mut wgpu::RenderPass<'a>, pipeline_manager: &'a PipelineManager)
src/renderer/background.rs:255
↓ 2 callers
Method
fluid_mut
(&mut self)
src/scene/mod.rs:220
↓ 2 callers
Function
get_cache_filename
(path: &Path)
src/renderer/background.rs:48
↓ 2 callers
Method
grid_dimension
(&self)
src/simulation/hybrid_fluid.rs:727
↓ 2 callers
Method
next_binding_fragment
(self, ty: wgpu::BindingType)
src/wgpu_utils/binding_builder.rs:39
↓ 2 callers
Method
on_new_scene
Needs to be called whenever immutable scene properties change.
src/renderer/scene_renderer.rs:133
↓ 2 callers
Method
reduce
( &'b self, cpass: &mut wgpu::ComputePass<'a>, pipeline_manager: &'a PipelineManager,
src/simulation/pressure_solver.rs:543
↓ 2 callers
Method
reset
( &mut self, device: &wgpu::Device, queue: &wgpu::Queue, shader_dir: &ShaderDi
src/scene/mod.rs:146
↓ 2 callers
Method
residual_view
(&self)
src/simulation/pressure_solver.rs:531
↓ 2 callers
Function
sampler
(filtering: bool)
src/wgpu_utils/binding_glsl.rs:19
↓ 2 callers
Method
sampler
pub fn buffer(self, buffer_binding: wgpu::BindingResource<'a>::Buffer) -> Self { self.resource(buffer_binding) }
src/wgpu_utils/binding_builder.rs:93
↓ 2 callers
Method
simulation_steps_per_second
(&self)
src/simulation_controller.rs:63
↓ 2 callers
Method
single_step
( &mut self, scene: &'a mut Scene, device: &wgpu::Device, queue: &wgpu::Queue,
src/simulation_controller.rs:192
↓ 2 callers
Method
start_error_buffer_readbacks
Call this once all command
src/simulation/pressure_solver.rs:204
↓ 2 callers
Method
start_simulation_frame
(&mut self)
src/simulation_controller.rs:175
↓ 2 callers
Method
texture_view
(&self)
src/render_output/hdr_backbuffer.rs:88
↓ 2 callers
Method
to_gpu
(&self, total_simulated_time: Duration, simulation_delta: Duration, fluid_config: &FluidConfig)
src/scene/models.rs:184
↓ 2 callers
Method
update_content
(&mut self, queue: &wgpu::Queue, content: Content)
src/wgpu_utils/uniformbuffer.rs:51
↓ 2 callers
Function
update_global_ubo
( ubo: &mut GlobalUBO, queue: &wgpu::Queue, camera: camera::CameraUniformBufferContent, time:
src/global_ubo.rs:19
↓ 2 callers
Method
world_position_at_time
(&self, total_simulated_time: Duration)
src/scene/models.rs:154
↓ 1 callers
Method
add_fluid_cube
Adds a cube of fluid. Coordinates are in grid space! Very slow operation!
src/simulation/hybrid_fluid.rs:620
↓ 1 callers
Method
add_lines
(&mut self, lines: &[LineVertex], queue: &wgpu::Queue)
src/renderer/static_line_renderer.rs:93
↓ 1 callers
Method
capture_screenshot
(&mut self, path: &Path, device: &wgpu::Device, encoder: &mut wgpu::CommandEncoder)
src/render_output/screen.rs:144
↓ 1 callers
Method
clear_lines
(&mut self)
src/renderer/static_line_renderer.rs:89
↓ 1 callers
Function
compute_group_size
(resource_size: wgpu::Extent3d, group_local_size: wgpu::Extent3d)
src/wgpu_utils/mod.rs:9
↓ 1 callers
Method
drain_changed_files
Checks if any change was detected in the shader directory. Right now notifies any changes in the directory, if too slow consider filtering & distingui
src/wgpu_utils/shader.rs:69
↓ 1 callers
Method
draw
(&mut self, event_loop_proxy: &EventLoopProxy<ApplicationEvent>)
src/main.rs:373
↓ 1 callers
Method
draw
( &mut self, device: &mut wgpu::Device, window: &winit::window::Window, encode
src/gui/mod.rs:442
↓ 1 callers
Method
duration_last_frame_history
(&self)
src/timer.rs:145
↓ 1 callers
Method
dynamic_settings
(&mut self)
src/simulation/hybrid_fluid.rs:751
↓ 1 callers
Method
enqueue_error_buffer_read
(&mut self, encoder: &mut wgpu::CommandEncoder, source_buffer: &wgpu::Buffer)
src/simulation/pressure_solver.rs:176
↓ 1 callers
Method
fast_forward_steps
A single fast forward operation is technically just a "very long frame". However, since we need to give the GPU some breathing space it's handled in a
src/simulation_controller.rs:96
↓ 1 callers
Method
frame_delta
(&self)
src/timer.rs:136
↓ 1 callers
Method
frame_steps
( &mut self, scene: &mut Scene, device: &wgpu::Device, queue: &wgpu::Queue,
src/simulation_controller.rs:159
↓ 1 callers
Function
from_cache
(path: &Path, device: &wgpu::Device, queue: &wgpu::Queue)
src/renderer/background.rs:52
↓ 1 callers
Function
from_hdr_faces
Loads cubemap in rgbe format
src/renderer/background.rs:98
↓ 1 callers
Method
get_compute
(&self, handle: &ComputePipelineHandle)
src/wgpu_utils/pipelines.rs:255
↓ 1 callers
Method
handle_event
(&mut self, winit_event: &winit::event::Event<T>)
src/gui/mod.rs:99
↓ 1 callers
Function
list_scene_files
()
src/gui/mod.rs:24
↓ 1 callers
Function
load
(path: &Path, device: &wgpu::Device, queue: &wgpu::Queue)
src/renderer/background.rs:166
↓ 1 callers
Method
load_scene
(&mut self, scene_path: &Path)
src/main.rs:182
↓ 1 callers
Function
load_texture2d_from_path
(device: &wgpu::Device, queue: &wgpu::Queue, path: &Path)
src/scene/models.rs:110
↓ 1 callers
Method
num_particles
(&self)
src/simulation/hybrid_fluid.rs:696
↓ 1 callers
Method
on_device_event
(&mut self, event: &DeviceEvent)
src/camera.rs:93
↓ 1 callers
Method
on_frame_submitted
(&mut self)
src/simulation_controller.rs:55
↓ 1 callers
Method
on_frame_submitted
(&mut self, time_scale: f32)
src/timer.rs:76
↓ 1 callers
Method
on_window_event
(&mut self, event: &WindowEvent)
src/camera.rs:58
↓ 1 callers
Method
on_window_resize
(&mut self, device: &wgpu::Device, backbuffer: &HdrBackbuffer)
src/renderer/scene_renderer.rs:190
↓ 1 callers
Method
present_mode
(&self)
src/render_output/screen.rs:140
↓ 1 callers
Method
pressure_solver_stats_density
(&self)
src/simulation/hybrid_fluid.rs:759
↓ 1 callers
Method
pressure_solver_stats_velocity
(&self)
src/simulation/hybrid_fluid.rs:755
↓ 1 callers
Method
reload_changed
(&mut self, device: &wgpu::Device, shader_dir: &ShaderDirectory, changed_shader_sources: &[PathBuf])
src/wgpu_utils/pipelines.rs:221
next →
1–100 of 222, ranked by callers