MCPcopy Create free account

hub / github.com/Technici4n/voxel-rs / functions

Functions337 in github.com/Technici4n/voxel-rs

↓ 2 callersFunctionsend_perf_breakdown
Send a debug info performance breakdown
common/src/debug.rs:100
↓ 2 callersMethodset_block_at_unsafe
(&mut self, (px, py, pz): (u32, u32, u32), block: BlockId)
common/src/world.rs:249
↓ 2 callersMethodset_player_input
Update the input of a player
common/src/physics/simulation.rs:164
↓ 2 callersMethodshould_capture_mouse
(&self)
client/src/ui/mod.rs:203
↓ 2 callersMethodshould_update_camera
(&self)
client/src/ui/mod.rs:46
↓ 2 callersMethodsquared_euclidian_distance
(self, other: ChunkPos)
common/src/world.rs:96
↓ 2 callersMethodstart_frame
Start a new frame
common/src/time.rs:71
↓ 2 callersMethodstep_simulation
Step the full physics simulation. For now, it just moves all connected players.
common/src/physics/simulation.rs:28
↓ 2 callersMethodupdate
(&mut self, _: &mut Settings, _: &InputState, _: &WindowData, flags: &mut WindowFlags, _: f64, _: &mut Gfx)
client/src/mainmenu.rs:36
↓ 2 callersMethodupdate
(&mut self)
client/src/ui/mod.rs:194
↓ 2 callersMethodupdate_mouse_button
Update the state of the mouse button
client/src/gui/mod.rs:40
↓ 2 callersMethodupload
Update the data of the buffer, resizing if needed
client/src/render/buffers.rs:40
↓ 2 callersMethodvertical
Set direction
quint/src/style.rs:16
↓ 2 callersFunctionvpos
(i: i32, j: i32, k: i32, face: usize)
client/src/render/world/mod.rs:634
↓ 1 callersMethodabsolute_height
Set absolue height in logical pixels
quint/src/style.rs:55
↓ 1 callersMethodabsolute_width
Set absolue width in logical pixels
quint/src/style.rs:50
↓ 1 callersMethodadd_chunk
Receive a new chunk from the server
client/src/world.rs:39
↓ 1 callersMethodadd_time
(&mut self, duration: Duration)
common/src/time.rs:31
↓ 1 callersMethodaverage_iter_per_sec
(&mut self)
common/src/time.rs:46
↓ 1 callersMethodaverage_time_micros
(&mut self)
common/src/time.rs:37
↓ 1 callersMethodbutton
Draw a button, returning whether the button was pressed
client/src/gui/mod.rs:75
↓ 1 callersFunctionchunk_index
(x: usize, y: usize, z: usize)
client/src/render/world/meshing.rs:101
↓ 1 callersMethodclear
(&mut self)
server/src/light/sunlight.rs:238
↓ 1 callersFunctionclear_color_and_depth
Clear the multisampled color buffer and the depth buffer
client/src/render/render.rs:88
↓ 1 callersFunctionclear_depth
Clear the depth buffer
client/src/render/render.rs:96
↓ 1 callersMethodcmp
(&self, other: &CloseChunkPos)
server/src/lib.rs:308
↓ 1 callersMethodcompute
(&mut self, input: ChunkMeshData)
client/src/render/world/meshing_worker.rs:34
↓ 1 callersFunctioncompute_light
Take a 3x3x3 chunks bloc and 3x3 HighestOpaqueBlock and compute the light by using a BFS
server/src/light/sunlight.rs:20
↓ 1 callersFunctioncreate_chunk_bind_group
Create chunk bind group
client/src/render/world/mod.rs:521
↓ 1 callersMethodcreate_chunk_lighting_data
Create a `ChunkLightingData` for a loaded chunk
server/src/world.rs:188
↓ 1 callersMethodcreate_chunk_mesh_data
Create a `ChunkMeshData` for a loaded chunk
client/src/world.rs:112
↓ 1 callersFunctioncreate_clear_color_attachment
( buffers: WindowBuffers, )
client/src/render/render.rs:58
↓ 1 callersFunctioncreate_default_depth_stencil_attachment
Create an attachment for the depth buffer that doesn't clear it.
client/src/render/render.rs:7
↓ 1 callersFunctioncreate_skybox
Create the vertex and the index buffer for the skybox.
client/src/render/world/skybox.rs:55
↓ 1 callersFunctioncreate_target_vertices
Create target vertices for some given face
client/src/render/world/mod.rs:631
↓ 1 callersFunctioncreate_vpm_bind_group
Create skybox bind group
client/src/render/world/mod.rs:601
↓ 1 callersMethodcursor_moved
(&mut self, p: glutin::dpi::LogicalPosition)
client/src/mainmenu.rs:105
↓ 1 callersMethodcursor_moved
(&mut self, p: LogicalPosition<f64>)
client/src/ui/mod.rs:39
↓ 1 callersFunctiondefault_camera
The default camera. It doesn't let you go inside blocks unless you are already inside blocks. TODO: use better integrator (RK4 ?)
common/src/physics/camera.rs:13
↓ 1 callersMethoddrain_primitives
Drain stores primitives
client/src/gui/mod.rs:45
↓ 1 callersMethoddraw_menu
(&self)
client/src/ui/mod.rs:135
↓ 1 callersMethoddraw_rectangle
(&mut self, color: [f32; 4], layout: quint::Layout, z: f32)
client/src/ui/mod.rs:271
↓ 1 callersMethoddraw_text_simple
(&mut self, x: i32, y: i32, h: i32, text: String, color: [f32; 4], z: f32)
client/src/ui/mod.rs:303
↓ 1 callersMethoddrop_far_chunks
Drop far chunks
server/src/world.rs:235
↓ 1 callersFunctionencode_resolve_render_pass
Encode a render pass to resolve the multisampled frame buffer to the window frame buffer
client/src/render/render.rs:44
↓ 1 callersMethodenqueue_chunks_for_lighting
Start the lighting of a few chunks
server/src/world.rs:167
↓ 1 callersMethodenqueue_chunks_for_meshing
Start the meshing of a few chunks
client/src/world.rs:89
↓ 1 callersMethodenqueue_chunks_for_worldgen
Start the worldgen of a few chunks
server/src/world.rs:218
↓ 1 callersMethodfind_free_slot
(&self)
network/src/server.rs:158
↓ 1 callersMethodfps
(&self)
client/src/fps.rs:28
↓ 1 callersMethodgenerate_chunk
(&mut self, pos: ChunkPos, block_registry: &Registry<Block>)
common/src/worldgen/mod.rs:247
↓ 1 callersFunctiongenerate_chunk_topology
Generate the topology of the chunk
common/src/worldgen/topology.rs:95
↓ 1 callersFunctiongenerate_ground_level
(px: f32, pz: f32)
common/src/worldgen/topology.rs:34
↓ 1 callersFunctiongenerate_item_model
( texture: TextureRect, atlas: &ImageBuffer<Rgba<u8>, Vec<u8>>, )
common/src/data/vox/item.rs:5
↓ 1 callersMethodget_block
Return block at position `pos` in the world. 0 is returned if the chunk does not exists/is not loaded
server/src/world.rs:71
↓ 1 callersMethodget_chunk_height_map
(&mut self, pos : ChunkPosXZ)
common/src/worldgen/topology.rs:19
↓ 1 callersMethodget_debug_info
Get the debug info
common/src/debug.rs:43
↓ 1 callersMethodget_key_state
(&self, scancode: u32)
client/src/input.rs:111
↓ 1 callersMethodget_new_chunk_meshes
Fetch the new chunk meshes from the meshing worker
client/src/world.rs:62
↓ 1 callersMethodget_new_generated_chunks
Fetch the new chunk meshes from the worldgen worker
server/src/world.rs:145
↓ 1 callersMethodget_new_light_chunks
Fetch the new light chunks from the light worker
server/src/world.rs:155
↓ 1 callersMethodget_number_of_ids
(&self)
common/src/registry.rs:45
↓ 1 callersMethodget_physics_input
TODO: add configuration for this
client/src/input.rs:132
↓ 1 callersMethodget_planes
(&self, aspect_ratio: f64)
client/src/render/frustum.rs:56
↓ 1 callersMethodget_value_by_id
(&self, id: u32)
common/src/registry.rs:49
↓ 1 callersMethodget_view_projection
Get the view/projection matrix associated with this frustum
client/src/render/frustum.rs:44
↓ 1 callersFunctiongreedy_meshing
Greedy meshing : compressed adjacent quads, return the number of uncompressed and compressed quads `quads`: Buffer that is reused every time.
client/src/render/world/meshing.rs:67
↓ 1 callersMethodhandle_cursor_movement
(&mut self, logical_position: glutin::dpi::LogicalPosition)
client/src/mainmenu.rs:71
↓ 1 callersMethodhandle_key_state_changes
(&mut self, changes: Vec<(u32, winit::event::ElementState)>)
client/src/ui/mod.rs:183
↓ 1 callersMethodhandle_mouse_motion
(&mut self, _: &Settings, _: (f64, f64))
client/src/mainmenu.rs:69
↓ 1 callersMethodhandle_mouse_state_changes
( &mut self, changes: Vec<(winit::event::MouseButton, winit::event::ElementState)>, )
client/src/ui/mod.rs:169
↓ 1 callersMethodhandle_server_messages
(&mut self)
client/src/singleplayer.rs:141
↓ 1 callersMethodinto_stretch
(self)
quint/src/geometry.rs:9
↓ 1 callersMethodis_mouse_inside
Is the mouse inside the rectangle
client/src/gui/mod.rs:70
↓ 1 callersMethodis_on_the_ground
Check whether the bounding box is touching the ground
common/src/physics/aabb.rs:186
↓ 1 callersMethodis_same
(&self)
client/src/render/world/meshing.rs:25
↓ 1 callersMethoditerate_around_player
Create an iterator over the chunks in the render distance around the player pos
common/src/player.rs:51
↓ 1 callersFunctionlaunch_server
Start a new server instance.
server/src/lib.rs:64
↓ 1 callersFunctionload_data
TODO: decent error handling
common/src/data/mod.rs:29
↓ 1 callersFunctionload_image
Load an image into a texture
client/src/texture.rs:8
↓ 1 callersFunctionload_settings
(folder_path: &Path, file_path: &Path)
client/src/settings.rs:10
↓ 1 callersFunctionload_textures
Load given textures to a unique texture atlas
common/src/data/mod.rs:212
↓ 1 callersMethodmerge
Merge with other HighestOpaqueBlock
server/src/light/mod.rs:39
↓ 1 callersFunctionmerge_arrays
Merge sorted arrays
common/src/collections.rs:15
↓ 1 callersFunctionmesh_model
(model: &VoxelModel)
client/src/render/world/model.rs:69
↓ 1 callersMethodon_event
Process one event
quint/src/ui.rs:149
↓ 1 callersFunctionopen_window
Open a new window with the given settings and the given initial state
client/src/window.rs:88
↓ 1 callersMethodpercent_height
Set height relative to parent in percent (from 0.0 to 1.0)
quint/src/style.rs:41
↓ 1 callersMethodpercent_width
Set width relative to parent in percent (from 0.0 to 1.0)
quint/src/style.rs:36
↓ 1 callersFunctionperlin2d_with_displacement
( dx: &Vec<f32>, dy: &Vec<f32>, d: f32, x: f32, y: f32, size: usize, scale_x: f32,
common/src/worldgen/perlin.rs:257
↓ 1 callersMethodprepare
Prepare for frame drawing
client/src/gui/mod.rs:50
↓ 1 callersMethodprocess_keyboard_input
Process a keyboard input, returning whether the state of the key changed or not
client/src/input.rs:69
↓ 1 callersMethodprocess_mouse_input
Process a mouse input, returning whether the state of the button changed or not
client/src/input.rs:92
↓ 1 callersMethodpropagate_event
(&self, event: Event, messages: &mut Vec<Message>)
quint/src/ui.rs:42
↓ 1 callersMethodread
(&mut self)
network/src/client.rs:65
↓ 1 callersMethodreallocate
( &mut self, device: &wgpu::Device, encoder: &mut wgpu::CommandEncoder, new_le
client/src/render/buffers.rs:225
↓ 1 callersMethodrebuild
(&mut self, _fps: usize, data: &WindowData)
client/src/mainmenu.rs:126
↓ 1 callersMethodrebuild
Rebuild the Ui if it changed
client/src/ui/mod.rs:51
↓ 1 callersMethodreceive_server_update
Process a server update
common/src/physics/simulation.rs:75
↓ 1 callersMethodremove
Remove a player from the simulation
common/src/physics/simulation.rs:172
← previousnext →101–200 of 337, ranked by callers