Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nelarius/weekend-raytracer-wgpu
/ functions
Functions
51 in github.com/Nelarius/weekend-raytracer-wgpu
⨍
Functions
51
◇
Types & classes
26
↓ 10 callers
Method
binding
(&self)
src/raytracer/gpu_buffer.rs:63
↓ 10 callers
Method
layout
(&self, visibility: wgpu::ShaderStages)
src/raytracer/gpu_buffer.rs:50
↓ 9 callers
Method
as_radians
(&self)
src/raytracer/angle.rs:25
↓ 6 callers
Method
as_slice
(&self)
src/raytracer/texture.rs:44
↓ 4 callers
Function
camera_orientation
(camera: &FlyCameraController)
src/fly_camera.rs:198
↓ 4 callers
Method
handle
(&self)
src/raytracer/gpu_buffer.rs:46
↓ 3 callers
Method
clamp
(mut self, min: Self, max: Self)
src/raytracer/angle.rs:29
↓ 2 callers
Method
dimensions
(&self)
src/raytracer/texture.rs:48
↓ 2 callers
Function
generate_camera_ray_dir
( camera: &FlyCameraController, mouse_pos: (f32, f32), viewport_size: (u32, u32), )
src/fly_camera.rs:169
↓ 2 callers
Method
handle_event
(&mut self, event: &WindowEvent<'_>)
src/fly_camera.rs:63
↓ 2 callers
Method
renderer_camera
(&self)
src/fly_camera.rs:51
↓ 2 callers
Method
to_sky_state
(self: &SkyParams)
src/raytracer/mod.rs:530
↓ 2 callers
Method
validate
(&self)
src/raytracer/mod.rs:456
↓ 1 callers
Method
accumulated_samples
(&self)
src/raytracer/mod.rs:629
↓ 1 callers
Method
after_events
(&mut self, viewport_size: (u32, u32), translation_scale: f32)
src/fly_camera.rs:113
↓ 1 callers
Method
as_degrees
(&self)
src/raytracer/angle.rs:20
↓ 1 callers
Method
next_frame
(&mut self, sampling_params: &SamplingParams)
src/raytracer/mod.rs:585
↓ 1 callers
Method
render_frame
( &'a mut self, queue: &wgpu::Queue, render_pass: &mut wgpu::RenderPass<'a>, )
src/raytracer/mod.rs:313
↓ 1 callers
Method
reset
(&mut self)
src/raytracer/mod.rs:625
↓ 1 callers
Function
scene
()
src/main.rs:428
↓ 1 callers
Method
set_render_params
( &mut self, queue: &wgpu::Queue, render_params: &RenderParams, )
src/raytracer/mod.rs:354
↓ 1 callers
Function
unit_quad_projection_matrix
()
src/raytracer/mod.rs:832
↓ 1 callers
Method
update
(&mut self, dt: f32)
src/main.rs:415
Method
add
(self, rhs: Self)
src/raytracer/angle.rs:45
Method
append_to_global_texture_data
( texture: &Texture, global_texture_data: &mut Vec<[f32; 3]>, )
src/raytracer/mod.rs:744
Method
average_fps
(&self)
src/main.rs:422
Method
checkerboard
( even: &Texture, odd: &Texture, global_texture_data: &mut Vec<[f32; 3]>, )
src/raytracer/mod.rs:722
Method
default
()
src/fly_camera.rs:25
Method
default
()
src/raytracer/mod.rs:519
Method
degrees
(degrees: f32)
src/raytracer/angle.rs:8
Method
desc
()
src/raytracer/mod.rs:810
Method
dielectric
(refraction_index: f32)
src/raytracer/mod.rs:713
Method
emissive
(emit: &Texture, global_texture_data: &mut Vec<[f32; 3]>)
src/raytracer/mod.rs:735
Method
empty
()
src/raytracer/mod.rs:768
Method
lambertian
(albedo: &Texture, global_texture_data: &mut Vec<[f32; 3]>)
src/raytracer/mod.rs:695
Function
main
()
src/main.rs:24
Method
metal
(albedo: &Texture, fuzz: f32, global_texture_data: &mut Vec<[f32; 3]>)
src/raytracer/mod.rs:704
Method
new
(window: &Window)
src/main.rs:346
Method
new
( device: &wgpu::Device, surface_config: &wgpu::SurfaceConfiguration, scene: &Scene,
src/raytracer/mod.rs:30
Method
new
( device: &wgpu::Device, buffer_size: wgpu::BufferAddress, binding_idx: u32, l
src/raytracer/gpu_buffer.rs:9
Method
new_from_bytes
( device: &wgpu::Device, bytes: &[u8], binding_idx: u32, label: Option<&str>,
src/raytracer/gpu_buffer.rs:28
Method
new_from_color
(color: glm::Vec3)
src/raytracer/texture.rs:37
Method
new_from_image
(path: &str)
src/raytracer/texture.rs:10
Method
new_from_scaled_image
(path: &str, scale: f32)
src/raytracer/texture.rs:14
Method
progress
(&self)
src/raytracer/mod.rs:389
Method
radians
(radians: f32)
src/raytracer/angle.rs:15
Function
test_angle_add
()
src/raytracer/angle.rs:69
Function
test_angle_clamp_max
()
src/raytracer/angle.rs:77
Function
test_angle_clamp_min
()
src/raytracer/angle.rs:86
Function
test_angle_to_degrees
()
src/raytracer/angle.rs:63
Function
test_angle_to_radians
()
src/raytracer/angle.rs:57