Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carlosvneto/wgpu-book
/ functions
Functions
533 in github.com/carlosvneto/wgpu-book
⨍
Functions
533
◇
Types & classes
89
Method
new
( window: Arc<Window>, colormap_name: &str, color: Vec<f32>, )
ch12/05_chart_pipelines/state.rs:44
Method
new
( colormap_name: &'a str, clr: Vec<f32>, title: &'a str, render_start_time
ch12/05_chart_pipelines/app.rs:22
Method
new
(_display: OwnedDisplayHandle, window: Arc<Window>)
ch01/01_window/app.rs:15
Method
new
(window: Arc<Window>, color_scale: f32)
ch13/02_boids/state.rs:28
Method
new
( color_scale: f32, title: &'static str, render_start_time: Option<time::Instant>,
ch13/02_boids/app.rs:21
Method
new
( window: Arc<Window>, num_particles: u32, particle_size: f32, )
ch13/04_particles/state.rs:43
Method
new
( num_particles: u32, particle_size: f32, title: &'static str, render_start_ti
ch13/04_particles/app.rs:22
Method
new
( window: Arc<Window>, num_particles: u32, particle_size: f32, color_opacity:
ch13/03_attractors/state.rs:30
Method
new
( num_particles: u32, particle_size: f32, color_opacity: f32, mass_factor: Vec
ch13/03_attractors/app.rs:24
Method
new
( window: Arc<Window>, vertex_data: &'a Vec<Vertex>, light_data: Light, )
ch08/common/state.rs:32
Method
new
( vertex_data: &'a Vec<Vertex>, light_data: light::Light, title: &'a str,
ch08/common/app.rs:24
Method
new
( window: Arc<Window>, vertex_data: &'a Vec<Vertex>, light_data: Light, )
ch09/common/state.rs:32
Method
new
( vertex_data: &'a Vec<Vertex>, light_data: light::Light, colormap_name: &'a str,
ch09/common/app.rs:25
Method
new
( window: Arc<Window>, inputs: &Inputs<'_>, num_vertices: u32, )
ch02/common/state.rs:23
Method
new
(title: &'a str, inputs: Inputs<'static>, num_vertices: u32)
ch02/common/app.rs:21
Method
new
(&mut self, init: &InitWgpu)
src/wgpu_simplified.rs:114
Method
new
( window: Arc<Window>, vertex_data: &Vec<Vertex>, light_data: Light, img_f
ch10/common/state.rs:34
Method
new
( vertex_data: &'a Vec<Vertex>, light_data: light::Light, file_name: &'a str,
ch10/common/app.rs:27
Method
new
(window: Arc<Window>)
ch06/02_cube_face_color/state.rs:28
Method
new
(window: Arc<Window>)
ch06/04_rotate_cube/state.rs:29
Method
new
(title: &'static str, render_start_time: Option<time::Instant>)
ch06/04_rotate_cube/app.rs:20
Method
new
(window: Arc<Window>)
ch06/01_3D_line/state.rs:28
Method
new
(window: Arc<Window>)
ch06/03_cube_vertex_color/state.rs:30
Method
new
(position: Pt, yaw: f32, pitch: f32)
ch06/05_camera_control/camera.rs:11
Method
new
()
ch06/05_camera_control/state.rs:24
Method
new
(title: &'static str)
ch06/05_camera_control/app.rs:18
Method
new
(display: OwnedDisplayHandle, window: Arc<Window>)
ch04/03_square_index/state.rs:24
Method
new
(window: Arc<Window>)
ch04/common/state.rs:23
Method
new
(title: &'static str)
ch04/common/app.rs:18
Method
new
( window: Arc<Window>, vertex_data: &Vec<Vertex>, light_data: Light, img_f
ch11/common/state.rs:34
Method
new
( vertex_data: &'a Vec<Vertex>, light_data: light::Light, file_name: &'a str,
ch11/common/app.rs:27
Method
new
( window: Arc<Window>, max_iter: f32, scale: f32, mouse_control: bool, )
ch14/06_mandelbrot3d/state.rs:31
Method
new
( window: Arc<Window>, select_color: f32, cx: f32, cy: f32, )
ch14/03_mandelbrot/state.rs:26
Method
new
(color_id: f32, cx: f32, cy: f32, title: &'static str)
ch14/03_mandelbrot/app.rs:21
Method
new
( window: Arc<Window>, select: f32, select_color: f32, )
ch14/02_iterate_func/state.rs:25
Method
new
( window: Arc<Window>, max_iter: f32, scale: f32, mouse_control: bool, )
ch14/05_mandelbulb/state.rs:31
Method
new
(max_iter: f32, scale: f32, mouse_control: bool, title: &'static str)
ch14/05_mandelbulb/app.rs:21
Method
new
( window: Arc<Window>, select: f32, select_color: f32, )
ch14/01_domain_color/state.rs:25
Method
new
(select_id: f32, color_id: f32, title: &'static str)
ch14/01_domain_color/app.rs:20
Method
new
( window: Arc<Window>, max_iter: f32, scale: f32, mouse_control: bool, )
ch14/07_mandelbox/state.rs:31
Method
new
(window: Arc<Window>, select_color: f32)
ch14/04_julia_set/state.rs:26
Method
new
(color_id: f32, title: &'static str)
ch14/04_julia_set/app.rs:19
Method
new
( window: Arc<Window>, mesh_data: &'a Vec<Vertex>, )
ch07/common/state.rs:31
Method
new
( mesh_data: &'a Vec<Vertex>, title: &'a str, render_start_time: Option<time::Insta
ch07/common/app.rs:22
Function
peaks
(x: f32, z: f32)
src/math_func.rs:99
Method
render
(&mut self)
ch12/07_multiple_render_passes/state.rs:371
Method
render
(&mut self)
ch12/02_cube_instance/state.rs:213
Method
render
(&mut self)
ch12/06_chart_axes/state.rs:446
Method
render
(&mut self)
ch06/02_cube_face_color/state.rs:192
Method
render
(&mut self)
ch06/01_3D_line/state.rs:193
Method
render
(&mut self)
ch06/03_cube_vertex_color/state.rs:209
Method
render
(&mut self)
ch04/03_square_index/state.rs:168
Method
render
(&mut self)
ch14/06_mandelbrot3d/state.rs:202
Method
render
(&mut self)
ch14/02_iterate_func/state.rs:168
Method
render
(&mut self)
ch14/07_mandelbox/state.rs:202
Method
resize
(&mut self, width: u32, height: u32)
ch12/07_multiple_render_passes/state.rs:309
Method
resize
(&mut self, width: u32, height: u32)
ch12/02_cube_instance/state.rs:162
Method
resize
(&mut self, width: u32, height: u32)
ch12/06_chart_axes/state.rs:384
Method
resize
(&mut self, width: u32, height: u32)
ch06/02_cube_face_color/state.rs:160
Method
resize
(&mut self, width: u32, height: u32)
ch06/01_3D_line/state.rs:160
Method
resize
(&mut self, width: u32, height: u32)
ch06/03_cube_vertex_color/state.rs:177
Method
resize
(&mut self, width: u32, height: u32)
ch04/03_square_index/state.rs:146
Method
resize
(&mut self, width: u32, height: u32)
ch14/06_mandelbrot3d/state.rs:159
Method
resize
(&mut self, width: u32, height: u32)
ch14/02_iterate_func/state.rs:144
Method
resize
(&mut self, width: u32, height: u32)
ch14/07_mandelbox/state.rs:159
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch12/01_two_cubes/app.rs:30
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch12/04_multiple_pipelines/app.rs:30
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch12/05_chart_pipelines/app.rs:39
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch01/01_window/app.rs:39
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch13/02_boids/app.rs:36
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch13/04_particles/app.rs:39
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch13/03_attractors/app.rs:45
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch08/common/app.rs:41
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch09/common/app.rs:44
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch02/common/app.rs:32
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch10/common/app.rs:50
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch06/04_rotate_cube/app.rs:30
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch06/05_camera_control/app.rs:24
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch04/common/app.rs:24
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch11/common/app.rs:50
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch14/03_mandelbrot/app.rs:33
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch14/05_mandelbulb/app.rs:33
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch14/01_domain_color/app.rs:31
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch14/04_julia_set/app.rs:29
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
ch07/common/app.rs:37
Function
seashell
(u: f32, v: f32)
src/math_func.rs:58
Function
sievert_enneper
(u: f32, v: f32)
src/math_func.rs:44
Function
sinc
(x: f32, z: f32)
src/math_func.rs:106
Function
sphere
(u: f32, v: f32)
src/math_func.rs:11
Function
torus
(u: f32, v: f32)
src/math_func.rs:4
Method
update
(&mut self, dt: std::time::Duration)
ch12/07_multiple_render_passes/state.rs:332
Method
update
(&mut self, dt: std::time::Duration)
ch12/02_cube_instance/state.rs:184
Method
update
(&mut self, dt: std::time::Duration)
ch12/06_chart_axes/state.rs:407
Method
update
(&mut self)
ch06/02_cube_face_color/state.rs:188
Method
update
(&mut self)
ch06/01_3D_line/state.rs:189
Method
update
(&mut self)
ch06/03_cube_vertex_color/state.rs:205
Method
update
(&mut self)
ch04/03_square_index/state.rs:164
Method
update
(&mut self)
ch14/06_mandelbrot3d/state.rs:198
Method
update
(&mut self)
ch14/02_iterate_func/state.rs:164
Method
update
(&mut self)
ch14/07_mandelbox/state.rs:198
← previous
next →
401–500 of 533, ranked by callers