Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanTanDev/3d_celluar_automata
/ functions
Functions
148 in github.com/TanTanDev/3d_celluar_automata
⨍
Functions
148
◇
Types & classes
54
↓ 26 callers
Method
get
(&self)
deps/bevy_egui-0.12.1/src/lib.rs:177
↓ 15 callers
Method
clear
(&mut self)
src/cell_renderer.rs:259
↓ 13 callers
Method
read
(&self, index: usize)
src/cells/leddoo/atomic.rs:97
↓ 10 callers
Method
add_example
(&mut self, example: Example)
src/cells/sims.rs:60
↓ 10 callers
Method
bounds
(&self)
src/cells/leddoo/atomic.rs:143
↓ 7 callers
Method
get_neighbour_iter
(&self)
src/neighbours.rs:11
↓ 7 callers
Function
pos_to_index
(pos: IVec3, bounds: i32)
src/utils.rs:56
↓ 7 callers
Method
write
(&self, index: usize)
src/cells/leddoo/atomic.rs:101
↓ 6 callers
Function
index_to_pos
(index: usize, bounds: i32)
src/utils.rs:49
↓ 6 callers
Method
set_bounds
(&mut self, new_bounds: i32)
src/cells/leddoo/atomic.rs:133
↓ 6 callers
Function
wrap
(pos: IVec3, bounds: i32)
src/utils.rs:13
↓ 5 callers
Function
center
(bounds: i32)
src/utils.rs:74
↓ 5 callers
Method
height
(&self)
deps/bevy_egui-0.12.1/src/lib.rs:382
↓ 5 callers
Method
spawn_noise
(&mut self, rule: &Rule)
src/cells/leddoo/atomic.rs:320
↓ 4 callers
Method
add_sim
(&mut self, name: String, sim: Box<dyn Sim>)
src/cells/sims.rs:56
↓ 4 callers
Method
in_range
(&self, value: u8)
src/rule.rs:27
↓ 4 callers
Method
in_range_incorrect
(&self, value: u8)
src/rule.rs:31
↓ 4 callers
Function
make_some_noise_default
(center: IVec3, f: F)
src/utils.rs:37
↓ 4 callers
Method
reset
(&mut self)
src/cells/mod.rs:9
↓ 4 callers
Method
width
(&self)
deps/bevy_egui-0.12.1/src/lib.rs:377
↓ 3 callers
Function
cell_is_dead
(value: u8)
src/cells/leddoo/atomic.rs:111
↓ 3 callers
Method
is_dead
(self)
src/cells/leddoo/single_threaded.rs:31
↓ 3 callers
Function
lerp_color
(color_1: Color, color_2: Color, dt: f32)
src/utils.rs:41
↓ 3 callers
Method
pos_to_index
(&self, vec: IVec3)
src/cells/leddoo/single_threaded.rs:76
↓ 3 callers
Method
set
(&mut self, index: usize, value: u8, neighbors: u8)
src/cell_renderer.rs:266
↓ 3 callers
Method
total_cell_count
(&self)
src/cells/leddoo/atomic.rs:147
↓ 3 callers
Method
update_neighbors
(&mut self, rule: &Rule, index: usize, inc: bool)
src/cells/leddoo/single_threaded.rs:85
↓ 3 callers
Method
wrap
(&self, pos: IVec3)
src/cells/leddoo/single_threaded.rs:80
↓ 2 callers
Method
cell_count
(&self)
src/cell_renderer.rs:246
↓ 2 callers
Method
cell_count
(&self)
src/cells/leddoo/atomic.rs:156
↓ 2 callers
Function
color_image_as_bevy_image
(egui_image: &egui::ColorImage)
deps/bevy_egui-0.12.1/src/egui_node.rs:407
↓ 2 callers
Function
color_picker
(ui: &mut egui::Ui, color: &mut Color)
src/cells/sims.rs:252
↓ 2 callers
Method
ctx_for_windows_mut
Allows to get multiple contexts at the same time. This function is useful when you want to get multiple window contexts without using the `multi_threa
deps/bevy_egui-0.12.1/src/lib.rs:294
↓ 2 callers
Method
index_to_pos
(&self, index: usize)
src/cells/leddoo/single_threaded.rs:72
↓ 2 callers
Method
set_example
(&mut self, index: usize)
src/cells/sims.rs:77
↓ 2 callers
Method
set_pos
(&mut self, pos: IVec3, value: u8, neighbors: u8)
src/cell_renderer.rs:271
↓ 2 callers
Method
set_sim
(&mut self, index: usize)
src/cells/sims.rs:64
↓ 2 callers
Method
try_ctx_for_windows_mut
Fallible variant of [`EguiContext::ctx_for_windows_mut`]. Make sure to set up the render graph by calling [`setup_pipeline`]. # Panics Panics if the
deps/bevy_egui-0.12.1/src/lib.rs:313
↓ 2 callers
Function
update_window_contexts
( egui_context: &mut EguiContext, egui_input: &mut HashMap<WindowId, EguiInput>, window_resources:
deps/bevy_egui-0.12.1/src/systems.rs:284
↓ 1 callers
Function
alpha_image_as_color_image
(image: &egui::AlphaImage)
deps/bevy_egui-0.12.1/src/egui_node.rs:399
↓ 1 callers
Method
apply_changes
(&mut self, rule: &Rule)
src/cells/tantan/single_threaded.rs:90
↓ 1 callers
Method
apply_changes
(&mut self, rule: &Rule)
src/cells/tantan/multi_threaded.rs:248
↓ 1 callers
Function
as_color_image
(image: &egui::ImageData)
deps/bevy_egui-0.12.1/src/egui_node.rs:392
↓ 1 callers
Method
atomic
(&self,index: usize)
src/cells/leddoo/atomic.rs:105
↓ 1 callers
Function
bounds_to_chunk_radius
(bounds: i32)
src/cells/leddoo/atomic.rs:70
↓ 1 callers
Method
calculate_changes
(&mut self, rule: &Rule)
src/cells/tantan/single_threaded.rs:59
↓ 1 callers
Method
calculate_changes
(&mut self, rule: &Rule, task_pool: &TaskPool)
src/cells/tantan/multi_threaded.rs:177
↓ 1 callers
Method
calculate_neighbours
(&mut self, rule: &Rule)
src/cells/tantan/single_threaded.rs:42
↓ 1 callers
Method
calculate_neighbours
(&mut self, rule: &Rule, task_pool: &TaskPool)
src/cells/tantan/multi_threaded.rs:120
↓ 1 callers
Method
center
(&self)
src/cells/leddoo/atomic.rs:151
↓ 1 callers
Function
chunk_is_border_pos
(pos: IVec3, offset: i32)
src/cells/leddoo/atomic.rs:78
↓ 1 callers
Function
chunk_offset_to_pos
(offset: usize)
src/cells/leddoo/atomic.rs:74
↓ 1 callers
Method
color
(&self, c1: Color, c2: Color, states: u8, state: u8, neighbours: u8, dist_to_center: f32)
src/rule.rs:47
↓ 1 callers
Method
ctx_for_window_mut
(&mut self, window: WindowId)
deps/bevy_egui-0.12.1/src/lib.rs:276
↓ 1 callers
Method
ctx_mut
(&mut self)
deps/bevy_egui-0.12.1/src/lib.rs:268
↓ 1 callers
Function
dist_to_center
(cell_pos: IVec3, bounds: i32)
src/utils.rs:20
↓ 1 callers
Function
get_bounding_ranges
(bounds: i32)
src/utils.rs:65
↓ 1 callers
Method
get_contents
Gets clipboard contents. Returns [`None`] if clipboard provider is unavailable or returns an error.
deps/bevy_egui-0.12.1/src/lib.rs:141
↓ 1 callers
Method
get_contents_impl
(&self)
deps/bevy_egui-0.12.1/src/lib.rs:160
↓ 1 callers
Method
handles
(&self)
deps/bevy_egui-0.12.1/src/render_systems.rs:39
↓ 1 callers
Function
is_in_bounds
(pos: IVec3, bounds: i32)
src/utils.rs:9
↓ 1 callers
Function
make_some_noise
(center: IVec3, radius: i32, amount: usize, mut f: F)
src/utils.rs:26
↓ 1 callers
Method
remove_image
Removes the image handle and an Egui texture id associated with it.
deps/bevy_egui-0.12.1/src/lib.rs:344
↓ 1 callers
Method
render
(&self, renderer: &mut CellRenderer)
src/cells/leddoo/atomic.rs:344
↓ 1 callers
Method
run
( &self, _graph: &mut RenderGraphContext, render_context: &mut RenderContext,
deps/bevy_egui-0.12.1/src/egui_node.rs:292
↓ 1 callers
Method
set_contents
Sets clipboard contents.
deps/bevy_egui-0.12.1/src/lib.rs:136
↓ 1 callers
Method
set_contents_impl
(&self, contents: &str)
deps/bevy_egui-0.12.1/src/lib.rs:146
↓ 1 callers
Function
setup_pipeline
Set up egui render pipeline. The pipeline for the primary window will already be set up by the [`EguiPlugin`], so you'll only need to manually call t
deps/bevy_egui-0.12.1/src/lib.rs:585
↓ 1 callers
Method
specialize
( &self, key: Self::Key, layout: &MeshVertexBufferLayout, )
src/cell_renderer.rs:148
↓ 1 callers
Method
tick
(&mut self, rule: &Rule)
src/cells/tantan/single_threaded.rs:36
↓ 1 callers
Method
tick
(&mut self, rule: &Rule, task_pool: &TaskPool)
src/cells/tantan/multi_threaded.rs:56
↓ 1 callers
Method
update
(&mut self, rule: &Rule, tasks: &TaskPool)
src/cells/leddoo/atomic.rs:236
↓ 1 callers
Method
update
(&mut self, world: &mut World)
deps/bevy_egui-0.12.1/src/egui_node.rs:191
↓ 1 callers
Function
update_image_rect
(dest: &mut egui::ColorImage, [x, y]: [usize; 2], src: &egui::ColorImage)
deps/bevy_egui-0.12.1/src/lib.rs:529
Method
add_image
Can accept either a strong or a weak handle. You may want to pass a weak handle if you control removing texture assets in your application manually a
deps/bevy_egui-0.12.1/src/lib.rs:333
Function
begin_frame
( mut egui_context: ResMut<EguiContext>, mut egui_input: ResMut<HashMap<WindowId, EguiInput>>, )
deps/bevy_egui-0.12.1/src/systems.rs:324
Function
bevy_to_egui_key
(key_code: KeyCode)
deps/bevy_egui-0.12.1/src/systems.rs:424
Method
bounds
(&self)
src/cells/tantan/single_threaded.rs:141
Method
bounds
(&self)
src/cells/tantan/multi_threaded.rs:308
Method
bounds
(&self)
src/cells/leddoo/single_threaded.rs:184
Method
build
(&self, app: &mut App)
src/rotating_camera.rs:27
Method
build
(&self, app: &mut App)
src/cell_renderer.rs:39
Method
build
(&self, app: &mut bevy::prelude::App)
src/cells/sims.rs:244
Method
build
(&self, app: &mut App)
deps/bevy_egui-0.12.1/src/lib.rs:416
Method
cell_count
(&self)
src/cells/tantan/single_threaded.rs:137
Method
cell_count
(&self)
src/cells/tantan/multi_threaded.rs:304
Method
cell_count
(&self)
src/cells/leddoo/single_threaded.rs:61
Method
ctx
(&self)
deps/bevy_egui-0.12.1/src/lib.rs:236
Method
ctx_for_window
(&self, window: WindowId)
deps/bevy_egui-0.12.1/src/lib.rs:249
Method
default
()
src/rotating_camera.rs:14
Method
default
()
deps/bevy_egui-0.12.1/src/lib.rs:107
Method
extract_component
(item: bevy::ecs::query::QueryItem<Self::Query>)
src/cell_renderer.rs:31
Function
extract_egui_render_data
( mut commands: Commands, mut egui_render_output: ResMut<HashMap<WindowId, EguiRenderOutput>>, win
deps/bevy_egui-0.12.1/src/render_systems.rs:53
Function
extract_egui_textures
( mut commands: Commands, egui_context: Res<EguiContext>, egui_managed_textures: ResMut<EguiManage
deps/bevy_egui-0.12.1/src/render_systems.rs:67
Function
free_egui_textures
( mut egui_context: ResMut<EguiContext>, mut egui_render_output: ResMut<HashMap<WindowId, EguiRenderOu
deps/bevy_egui-0.12.1/src/lib.rs:538
Method
from_range
(indices: RangeInclusive<u8>)
src/rule.rs:18
Method
from_world
(world: &mut World)
src/cell_renderer.rs:130
Method
from_world
(world: &mut World)
deps/bevy_egui-0.12.1/src/egui_node.rs:36
Method
image_id
(&self, image: &Handle<Image>)
deps/bevy_egui-0.12.1/src/lib.rs:352
Function
init_contexts_on_startup
( mut egui_context: ResMut<EguiContext>, mut egui_input: ResMut<HashMap<WindowId, EguiInput>>, mut
deps/bevy_egui-0.12.1/src/systems.rs:55
next →
1–100 of 148, ranked by callers