MCPcopy Create free account

hub / github.com/carlosvneto/wgpu-book / functions

Functions533 in github.com/carlosvneto/wgpu-book

↓ 36 callersFunctioncylinder_position
(r: f32, y: f32, theta: f32)
src/math_func.rs:119
↓ 35 callersFunctionvertex
(p: [f32; 3])
ch07/common/vertex.rs:9
↓ 20 callersFunctioncreate_transforms
(translation: [f32; 3], rotation: [f32; 3], scaling: [f32; 3])
src/transforms.rs:76
↓ 16 callersFunctioncreate_projection
(aspect: f32, is_perspective: bool)
src/transforms.rs:12
↓ 15 callersFunctioncreate_view_projection
( camera_position: Vec3, look_direction: Vec3, up_direction: Vec3, aspect: f32, is_perspec
src/transforms.rs:49
↓ 8 callersFunctioncube_data
()
src/vertex_data.rs:377
↓ 8 callersFunctionsimple_surface_data
( f: &dyn Fn(f32, f32) -> [f32; 3], colormap_name: &str, xmin: f32, xmax: f32, zmin: f32,
src/surface_data.rs:137
↓ 7 callersFunctioncreate_vertices_param
( f: &dyn Fn(f32, f32) -> [f32; 3], colormap_name: &str, umin: f32, umax: f32, vmin: f32,
ch09/common/vertex.rs:54
↓ 7 callersFunctionlight
( sc: [f32; 3], ambient: f32, diffuse: f32, specular: f32, shininess: f32, two_side: i
ch09/common/light.rs:15
↓ 7 callersFunctionlight
( sc: [f32; 3], ambient: f32, diffuse: f32, specular: f32, shininess: f32, two_side: i
ch10/common/light.rs:15
↓ 7 callersFunctionnormalize_point
( pt: [f32; 3], xmin: f32, xmax: f32, ymin: f32, ymax: f32, zmin: f32, zmax: f32,
src/surface_data.rs:311
↓ 7 callersFunctionparametric_surface_data
( f: &dyn Fn(f32, f32) -> [f32; 3], colormap_name: &str, umin: f32, umax: f32, vmin: f32,
src/surface_data.rs:47
↓ 7 callersFunctionsphere_position
(r: f32, theta: f32, phi: f32)
src/math_func.rs:123
↓ 7 callersFunctiontorus_position
(r_torus: f32, r_tube: f32, u: f32, v: f32)
src/math_func.rs:112
↓ 7 callersFunctionvertex
(p: [i8; 3], n: [i8; 3], t: [i8; 2])
ch10/01_cube/main.rs:21
↓ 6 callersFunctionlight
( sc: [f32; 3], ambient: f32, diffuse: f32, specular: f32, shininess: f32, two_side: i
ch11/common/light.rs:15
↓ 6 callersFunctionvertex
(p: [f32; 3], n: [f32; 3], t: [f32; 2], c: [f32; 3])
ch11/common/vertex.rs:13
↓ 6 callersFunctionvertex3
(p: [f32; 3], c: [f32; 3])
ch12/06_chart_axes/vertex_axes.rs:10
↓ 5 callersFunctionlight
(c: [f32; 3], sc: [f32; 3], ai: f32, di: f32, si: f32, ss: f32)
ch08/common/light.rs:15
↓ 5 callersFunctionvertex
(p: [i8; 3], n: [i8; 3])
ch08/01_cube/main.rs:21
↓ 4 callersFunctionadd_center
(mut data: Vec<Vertex>, center: [f32; 3])
ch12/03_different_objects/main.rs:19
↓ 4 callersFunctioncolor_lerp
(colormap_name: &str, min: f32, max: f32, mut t: f32)
src/colormap.rs:2
↓ 4 callersFunctionnormalize_uv
(pt: [f32; 3], scale: f32)
src/surface_data.rs:305
↓ 3 callersFunctioncreate_vertices
()
ch12/01_two_cubes/vertex.rs:19
↓ 3 callersFunctionsimple_mesh_data
( f: &dyn Fn(f32, f32) -> [f32; 3], xmin: f32, xmax: f32, zmin: f32, zmax: f32, nx: us
src/surface_data.rs:226
↓ 3 callersFunctionsphere_data
(r: f32, u: usize, v: usize)
src/vertex_data.rs:289
↓ 2 callersFunctioncreate_quad
( p0: [f32; 3], p1: [f32; 3], p2: [f32; 3], p3: [f32; 3], ymin: f32, ymax: f32, co
src/surface_data.rs:338
↓ 2 callersFunctioncreate_vertices
( f: &dyn Fn(f32, f32) -> [f32; 3], colormap_name: &str, xmin: f32, xmax: f32, zmin: f32,
ch09/common/vertex.rs:22
↓ 2 callersFunctioncylinder_data
( rin: f32, rout: f32, height: f32, n: usize, )
src/vertex_data.rs:195
↓ 2 callersFunctionlight
( sc: [f32; 3], ambient: f32, diffuse: f32, specular: f32, shininess: f32, two_side: i
ch12/06_chart_axes/light.rs:15
↓ 2 callersFunctionparametric_surface_data_uv
( umin: f32, umax: f32, vmin: f32, vmax: f32, nu: usize, nv: usize, ul: f32, v
src/surface_data.rs:6
↓ 2 callersMethodupdate_view_project
(&mut self, camera: &camera::Camera, project_mat: Mat4)
ch06/05_camera_control/state.rs:30
↓ 2 callersFunctionvertex
(p: [f32; 3], n: [f32; 3], c: [f32; 3])
ch09/common/vertex.rs:13
↓ 2 callersMethodwindow
(&self)
ch12/01_two_cubes/state.rs:176
↓ 2 callersMethodwindow
(&self)
ch12/04_multiple_pipelines/state.rs:409
↓ 2 callersMethodwindow
(&self)
ch12/05_chart_pipelines/state.rs:311
↓ 2 callersMethodwindow
(&self)
ch13/02_boids/state.rs:265
↓ 2 callersMethodwindow
(&self)
ch13/04_particles/state.rs:324
↓ 2 callersMethodwindow
(&self)
ch13/03_attractors/state.rs:372
↓ 2 callersMethodwindow
(&self)
ch08/common/state.rs:232
↓ 2 callersMethodwindow
(&self)
ch09/common/state.rs:230
↓ 2 callersMethodwindow
(&self)
ch02/common/state.rs:129
↓ 2 callersMethodwindow
(&self)
ch10/common/state.rs:288
↓ 2 callersMethodwindow
(&self)
ch06/04_rotate_cube/state.rs:156
↓ 2 callersMethodwindow
(&self)
ch06/05_camera_control/state.rs:180
↓ 2 callersMethodwindow
(&self)
ch04/common/state.rs:133
↓ 2 callersMethodwindow
(&self)
ch11/common/state.rs:288
↓ 2 callersMethodwindow
(&self)
ch07/common/state.rs:157
↓ 1 callersFunctioncolormap_data
(colormap_name: &str)
ch05/04_view_projection/colormap.rs:26
↓ 1 callersFunctioncolormap_data
(colormap_name: &str)
src/colormap.rs:26
↓ 1 callersFunctioncone_data
( rtop: f32, rbottom: f32, height: f32, n: usize, )
src/vertex_data.rs:54
↓ 1 callersFunctioncreate_quad_uv
(p0: [f32; 2], p1: [f32; 2], p2: [f32; 2], p3: [f32; 2])
src/surface_data.rs:327
↓ 1 callersFunctioncreate_vertices
(colormap_name: &str)
ch12/07_multiple_render_passes/vertex_surface.rs:22
↓ 1 callersFunctioncreate_vertices
()
ch12/02_cube_instance/vertex.rs:19
↓ 1 callersFunctioncreate_vertices
()
ch12/04_multiple_pipelines/vertex_sphere.rs:21
↓ 1 callersFunctioncreate_vertices
(colormap_name: &str)
ch12/06_chart_axes/vertex_surface.rs:22
↓ 1 callersFunctioncreate_vertices
(colormap_name: &str)
ch12/05_chart_pipelines/vertex_surface.rs:22
↓ 1 callersFunctioncreate_vertices
(rtop: f32, rbottom: f32, height: f32, n: usize)
ch08/04_cone/main.rs:21
↓ 1 callersFunctioncreate_vertices
(r: f32, u: usize, v: usize)
ch08/02_sphere/main.rs:21
↓ 1 callersFunctioncreate_vertices
(rin: f32, rout: f32, h: f32, n: usize)
ch08/03_cylinder/main.rs:21
↓ 1 callersFunctioncreate_vertices
()
ch08/01_cube/main.rs:28
↓ 1 callersFunctioncreate_vertices
(r_torus: f32, r_tube: f32, n_torus: usize, n_tube: usize)
ch08/05_torus/main.rs:21
↓ 1 callersFunctioncreate_vertices
()
ch10/05_peaks/main.rs:22
↓ 1 callersFunctioncreate_vertices
()
ch10/02_sphere/main.rs:21
↓ 1 callersFunctioncreate_vertices
(ul: f32, vl: f32)
ch10/03_cylinder/main.rs:21
↓ 1 callersFunctioncreate_vertices
()
ch10/04_sinc/main.rs:22
↓ 1 callersFunctioncreate_vertices
(ul: f32, vl: f32)
ch10/07_wellenkugel/main.rs:22
↓ 1 callersFunctioncreate_vertices
()
ch10/01_cube/main.rs:29
↓ 1 callersFunctioncreate_vertices
(ul: f32, vl: f32)
ch10/06_klein_bottle/main.rs:23
↓ 1 callersFunctioncreate_vertices
()
ch06/02_cube_face_color/vertex.rs:21
↓ 1 callersFunctioncreate_vertices
()
ch06/04_rotate_cube/vertex.rs:19
↓ 1 callersFunctioncreate_vertices
()
ch06/01_3D_line/vertex.rs:11
↓ 1 callersFunctioncreate_vertices
()
ch06/03_cube_vertex_color/vertex.rs:21
↓ 1 callersFunctioncreate_vertices
()
ch06/05_camera_control/vertex.rs:19
↓ 1 callersFunctioncreate_vertices
(colormap_name: &str)
ch11/04_torus/main.rs:23
↓ 1 callersFunctioncreate_vertices
(colormap_name: &str)
ch11/06_wellenkugel/main.rs:22
↓ 1 callersFunctioncreate_vertices
(colormap_name: &str)
ch11/01_sinc/main.rs:22
↓ 1 callersFunctioncreate_vertices
(colormap_name: &str)
ch11/02_peaks/main.rs:22
↓ 1 callersFunctioncreate_vertices
(colormap_name: &str)
ch11/03_sphere/main.rs:23
↓ 1 callersFunctioncreate_vertices
(colormap_name: &str)
ch11/05_klein_bottle/main.rs:23
↓ 1 callersFunctioncreate_vertices
(rtop: f32, rbottom: f32, height: f32, n: usize)
ch07/04_cone/main.rs:17
↓ 1 callersFunctioncreate_vertices
(r: f32, u: usize, v: usize)
ch07/02_sphere/main.rs:17
↓ 1 callersFunctioncreate_vertices
(rin: f32, rout: f32, height: f32, n: usize)
ch07/03_cylinder/main.rs:17
↓ 1 callersFunctioncreate_vertices
()
ch07/01_cube/main.rs:15
↓ 1 callersFunctioncreate_vertices
(r_torus: f32, r_tube: f32, n_torus: usize, n_tube: usize)
ch07/05_torus/main.rs:17
↓ 1 callersFunctioncreate_vertices2
()
ch12/07_multiple_render_passes/vertex_mesh.rs:18
↓ 1 callersFunctioncreate_vertices2
()
ch12/04_multiple_pipelines/vertex_cube.rs:19
↓ 1 callersFunctioncreate_vertices2
()
ch12/06_chart_axes/vertex_mesh.rs:18
↓ 1 callersFunctioncreate_vertices2
()
ch12/05_chart_pipelines/vertex_mesh.rs:18
↓ 1 callersFunctioncreate_vertices3
(center: [f32; 3], size: [f32; 3])
ch12/06_chart_axes/vertex_axes.rs:17
↓ 1 callersFunctioncreate_view_projection_ortho
( left: f32, right: f32, bottom: f32, top: f32, near: f32, far: f32, camera_positi
src/transforms.rs:24
↓ 1 callersFunctioncube_data_index
()
src/vertex_data.rs:342
↓ 1 callersFunctioncylinder_data_uv
( rin: f32, rout: f32, height: f32, n: usize, ul: f32, vl: f32, )
src/vertex_data.rs:121
↓ 1 callersFunctionget_vertex_data
()
ch12/03_different_objects/main.rs:29
↓ 1 callersMethodhandle_key_input
(&mut self, event_loop: &ActiveEventLoop, key: KeyCode, pressed: bool)
ch12/01_two_cubes/state.rs:193
↓ 1 callersMethodhandle_key_input
(&mut self, event_loop: &ActiveEventLoop, key: KeyCode, pressed: bool)
ch12/04_multiple_pipelines/state.rs:427
↓ 1 callersMethodhandle_key_input
(&mut self, event_loop: &ActiveEventLoop, key: KeyCode, pressed: bool)
ch12/05_chart_pipelines/state.rs:329
↓ 1 callersMethodhandle_key_input
(&mut self, event_loop: &ActiveEventLoop, key: KeyCode, pressed: bool)
ch01/01_window/app.rs:23
↓ 1 callersMethodhandle_key_input
(&mut self, event_loop: &ActiveEventLoop, key: KeyCode, pressed: bool)
ch13/02_boids/state.rs:280
↓ 1 callersMethodhandle_key_input
(&mut self, event_loop: &ActiveEventLoop, key: KeyCode, pressed: bool)
ch13/04_particles/state.rs:339
next →1–100 of 533, ranked by callers