MCPcopy Create free account

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

Functions337 in github.com/Technici4n/voxel-rs

↓ 1 callersMethodremove_chunk_mesh
(&mut self, pos: ChunkPos)
client/src/render/world/mod.rs:439
↓ 1 callersMethodremove_far_chunks
Remove chunks that are too far for the player
client/src/world.rs:76
↓ 1 callersMethodrender_chunks
Render the chunks
client/src/world.rs:137
↓ 1 callersFunctionrender_debug_info
(gui: &mut super::Gui, debug_info: &mut DebugInfo)
client/src/gui/experiments.rs:6
↓ 1 callersMethodsend_chunks_to_player
Get chunks to send to a player this frame, and update the `PlayerData` accordingly. Start generating some chunks if necessary
server/src/world.rs:261
↓ 1 callersFunctionsend_worker_perf
Send a debug info worker perf
common/src/debug.rs:81
↓ 1 callersMethodset_modifiers_state
Update the modifiers
client/src/input.rs:103
↓ 1 callersMethodshould_exit
(&self)
client/src/ui/mod.rs:207
↓ 1 callersFunctionstart_lighting_worker
()
server/src/light/worker.rs:12
↓ 1 callersFunctionstart_meshing_worker
(block_meshes: Vec<BlockMesh>)
client/src/render/world/meshing_worker.rs:11
↓ 1 callersFunctionstart_worldgen_worker
( block_registry: Registry<Block>, world_generator: Box<dyn WorldGenerator + Send> )
server/src/worldgen.rs:10
↓ 1 callersMethodstyle
(&self)
client/src/ui/widgets.rs:22
↓ 1 callersMethodunload_chunk
Unload chunk TODO: persist to disk
server/src/world.rs:249
↓ 1 callersMethodupdate
Process some events
quint/src/ui.rs:34
↓ 1 callersMethodupdate_chunk_column
Update the highest opaque block in the column, and mark relevant chunks for a light update. To be called after every chunk loading or modification.
server/src/world.rs:80
↓ 1 callersMethodupdate_chunk_mesh
( &mut self, device: &wgpu::Device, encoder: &mut wgpu::CommandEncoder, chunk_
client/src/render/world/mod.rs:424
↓ 1 callersMethodupdate_column_light
Mark an entire chunk column for light updates
server/src/world.rs:105
↓ 1 callersMethodupdate_cursor
TODO: Allow mouse inverting
client/src/input.rs:15
↓ 1 callersMethodupdate_mouse_position
Update the mouse position
client/src/gui/mod.rs:34
↓ 1 callersFunctionvalue_noise
Horribly not optimized value perlin noise
common/src/worldgen/perlin.rs:47
↓ 1 callersFunctionvalue_noise2d
Value 2d noise
common/src/worldgen/perlin.rs:188
↓ 1 callersMethodwith_padding
Pad this `Layout` by some logical pixels
quint/src/layout.rs:26
↓ 1 callersFunctionwrite_settings
(path: impl AsRef<Path>, settings: &Settings)
client/src/settings.rs:49
Method_assert_invariants
(&self)
client/src/render/buffers.rs:267
Method_get_modifiers_state
(&self)
client/src/input.rs:107
Method_intersect
return true is the AABB box intersect with the other box
common/src/physics/aabb.rs:34
Method_intersect_point
Return true if point (px, py, pz) is in the AABB box
common/src/physics/aabb.rs:49
Method_new_cube
Create an AABB box of cubic shape
common/src/physics/aabb.rs:24
Methodabsolute_size
Set absolute size in logical pixels
quint/src/style.rs:60
Methodcmp
(&self, other: &SentPacket)
network/tests/common/mod.rs:23
Methodcompute
(&mut self, pos: ChunkPos)
server/src/worldgen.rs:32
Methodcompute
(&mut self, data: ChunkLightingData)
server/src/light/worker.rs:39
Methodcontains_chunk
Checks whether the frustum contains the chunk. This function may return false positives.
client/src/render/frustum.rs:106
Methoddecorate_chunk
(chunks: &mut Vec<Chunk>, decorator: &Decorator)
common/src/worldgen/mod.rs:98
Methoddefault
()
client/src/input.rs:40
Methoddefault
()
client/src/settings.rs:76
Methoddefault
()
network/src/server.rs:28
Methoddefault
()
server/src/lib.rs:51
Methoddefault
()
common/src/player.rs:19
Methoddefault
()
common/src/registry.rs:58
Methoddefault
()
common/src/physics/player.rs:90
Methoddefault
()
quint/src/style.rs:66
Methoddraw_debug_info
( &self, debug_info: BTreeMap<String, BTreeMap<String, String>>, )
client/src/ui/mod.rs:81
Methodeq
(&self, other: &SentPacket)
network/tests/common/mod.rs:35
Methodeq
(&self, other: &CloseChunkPos)
server/src/lib.rs:295
Methodfill
(&mut self, block: BlockId)
common/src/world.rs:264
Methodfill_unsafe
(&mut self, block: BlockId)
common/src/world.rs:257
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
common/src/registry.rs:9
Methodfrom
(bs: BitSet)
network/src/types.rs:66
Methodfrom
((px, py, pz): (i64, i64, i64))
common/src/world.rs:36
Methodfrom_chunk
(chunk: &Arc<Chunk>)
server/src/light/mod.rs:20
Methodfrom_chunk
Compress `chunk` using RLE
common/src/world.rs:170
Methodfrom_stretch
(l: stretch::result::Layout)
quint/src/layout.rs:11
Methodget_camera_position
Get the camera position of the client
common/src/physics/simulation.rs:87
Methodget_light_at
(&self, (px, py, pz): (u32, u32, u32))
common/src/world.rs:286
Methodget_side_plane
(point: Vector3<f64>, other_vector: Vector3<f64>)
client/src/render/frustum.rs:69
Methodhandle_cursor_movement
(&mut self, logical_position: winit::dpi::LogicalPosition<f64>)
client/src/singleplayer.rs:343
Methodhandle_key_state_changes
(&mut self, changes: Vec<(u32, winit::event::ElementState)>)
client/src/singleplayer.rs:393
Methodhandle_key_state_changes
(&mut self, _: Vec<(u32, glutin::ElementState)>)
client/src/mainmenu.rs:79
Methodhandle_mouse_motion
(&mut self, _settings: &Settings, delta: (f64, f64))
client/src/singleplayer.rs:337
Methodhandle_mouse_state_changes
( &mut self, changes: Vec<(winit::event::MouseButton, winit::event::ElementState)>, )
client/src/singleplayer.rs:349
Methodhandle_mouse_state_changes
(&mut self, changes: Vec<(glutin::MouseButton, glutin::ElementState)>)
client/src/mainmenu.rs:75
Methodis_block_full
(&self, pos: BlockPos)
server/src/world.rs:302
Methodis_connected
(&self)
network/src/client.rs:57
Functionmain
()
client/src/main.rs:19
Methodnew
Create a new empty world using the provided chunks
client/src/world.rs:29
Methodnew
()
client/src/input.rs:58
Methodnew
()
client/src/fps.rs:10
Methodnew
( settings: &mut Settings, device: &mut wgpu::Device, mut client: Box<dyn Client>,
client/src/singleplayer.rs:62
Methodnew
(_settings: &mut Settings, gfx: &mut Gfx)
client/src/mainmenu.rs:24
Methodnew
(device: &mut wgpu::Device)
client/src/render/ui.rs:24
Methodnew
Create a new frustum. This function should be called each frame.
client/src/render/frustum.rs:35
Methodnew
( device: &wgpu::Device, encoder: &mut wgpu::CommandEncoder, texture_atlas: ImageBuffe
client/src/render/world/mod.rs:51
Methodnew
(block_meshes: Vec<BlockMesh>)
client/src/render/world/meshing_worker.rs:25
Methodnew
Create a new Gui
client/src/gui/mod.rs:22
Methodnew
()
client/src/ui/mod.rs:30
Methodnew
()
network/src/channel.rs:31
Methodnew
(socket: S)
network/src/server.rs:48
Methodnew
(socket: S, server_addr: SocketAddr)
network/src/client.rs:37
Methodnew
(addr: SocketAddr, config: DummySocketConfig)
network/tests/common/mod.rs:65
Methodnew
(relative_pos: ChunkPos, reference_chunk: ChunkPos)
server/src/lib.rs:285
Methodnew
(block_registry: Registry<Block>, world_generator: Box<dyn WorldGenerator + Send>)
server/src/worldgen.rs:23
Methodnew
( block_registry: Registry<Block>, world_generator: Box<dyn WorldGenerator + Send> )
server/src/world.rs:51
Methodnew
()
server/src/light/sunlight.rs:12
Methodnew
()
server/src/light/mod.rs:14
Methodnew
()
server/src/light/worker.rs:29
Methodnew
Create a new empty chunk
common/src/world.rs:219
Methodnew
()
common/src/time.rs:11
Methodnew
Start a new worker with the given state using the provided channel size. The name is used for debug printing.
common/src/worker.rs:27
Methodnew
(render_distance: RenderDistance, player_chunk: ChunkPos)
common/src/player.rs:75
Methodnew
()
common/src/worldgen/topology.rs:13
Methodnew
((x, y, z): (i64, i64, i64), id: u16)
common/src/worldgen/mod.rs:34
Methodnew
(block_type: u16)
common/src/worldgen/decorator.rs:20
Methodnew
Create a new simulation from some `ServerState` and the client's id
common/src/physics/simulation.rs:64
Methodnew
Create a new AABB box
common/src/physics/aabb.rs:14
Methodnew
()
quint/src/ui.rs:21
Methodnew_current
Create a new `DebugInfo` struct and make it the current one.
common/src/debug.rs:32
Methodnew_factory
(client: Box<dyn Client>)
client/src/singleplayer.rs:58
Methodnew_leaf
Create a new leaf
quint/src/ui.rs:167
Methodnext
(&mut self)
common/src/player.rs:89
← previousnext →201–300 of 337, ranked by callers