MCPcopy Create free account

hub / github.com/andrewosh/cellarium / functions

Functions212 in github.com/andrewosh/cellarium

↓ 38 callersFunctionemit_expr
(expr: &Expr, ctx: &mut EmitCtx, closure_param: Option<&str>)
macros/src/lower.rs:384
↓ 23 callersMethodtitle
(mut self, title: &str)
src/runtime.rs:43
↓ 22 callersMethodrun
(self)
src/runtime.rs:64
↓ 19 callersMethodticks_per_frame
(mut self, n: u32)
src/runtime.rs:48
↓ 12 callersMethodneighbor_field_fetch
(&self, field_name: &str)
macros/src/lower.rs:375
↓ 8 callersMethoddistance
(self, other: Self)
src/types.rs:45
↓ 8 callersFunctionemit_expr_with_prefix
(expr: &Expr, ctx: &mut EmitCtx, closure_param: &str, prefix: &str)
macros/src/lower.rs:1035
↓ 6 callersMethodlength
(self)
src/types.rs:32
↓ 5 callersFunctionexpr_spatial_needs
Check if an expression tree contains spatial accessor calls (offset/direction/distance) Which spatial accessors an expression needs: (offset, distance
macros/src/lower.rs:222
↓ 5 callersFunctionflush_pending_spatial_ops
(ctx: &mut EmitCtx)
macros/src/lower.rs:1090
↓ 4 callersMethodadjust_param
(&mut self, idx: usize, factor: f32)
src/tui.rs:53
↓ 4 callersFunctiondiscover_neighbor_fields_in_expr
Discover fields accessed via c.X in closure bodies (neighbor fields)
macros/src/lower.rs:164
↓ 4 callersMethodis_replaying
(&self)
src/tui.rs:143
↓ 4 callersMethodradius
(&self)
macros/src/lower.rs:23
↓ 4 callersFunctionuser_var
Prefix all user-defined variable/constant names to avoid WGSL keyword collisions.
macros/src/lower.rs:7
↓ 4 callersMethodwrite_uniforms
(&self, tick: u32)
src/runtime.rs:136
↓ 3 callersFunctiondiscover_fields_in_block
(block: &Block, names: &mut Vec<FieldDef>, seen: &mut HashSet<String>)
macros/src/lower.rs:82
↓ 3 callersFunctionemit_param_reads
(info: &CellImplInfo)
macros/src/lower.rs:1464
↓ 3 callersFunctionemit_spatial_op
(op: &SpatialOp, ctx: &mut EmitCtx, var_prefix: &str)
macros/src/lower.rs:744
↓ 3 callersMethodfield_texture_swizzle
(&self, field_name: &str)
macros/src/lower.rs:353
↓ 3 callersMethodfinalize_replay
Call after replay finishes to snapshot current state and allow new recording.
src/tui.rs:148
↓ 3 callersFunctionfold_iter
(iter: &mut dyn Iterator<Item=(bool,bool,bool)>)
macros/src/lower.rs:224
↓ 3 callersMethodread_views
(&self)
src/texture.rs:56
↓ 3 callersMethodset_param
(&mut self, idx: usize, value: f32)
src/tui.rs:65
↓ 3 callersFunctionvalidate_method_body
(block: &Block, method: &str, neighborhood: &Neighborhood)
macros/src/check.rs:5
↓ 3 callersFunctionvalidate_stmt
(stmt: &Stmt, method: &str, neighborhood: &Neighborhood)
macros/src/check.rs:12
↓ 2 callersFunctioncompute_tile_config
(radius: u32, num_textures: u32)
macros/src/lower.rs:1479
↓ 2 callersFunctioncreate_bind_group
( device: &Device, layout: &BindGroupLayout, texture_views: &[&TextureView], uniform_buffer: &
src/pipeline.rs:287
↓ 2 callersFunctioncreate_view_pipeline
( device: &Device, shader: &ShaderModule, bind_group_layout: &BindGroupLayout, surface_format:
src/pipeline.rs:199
↓ 2 callersFunctiondiscover_fields
(block: &Block)
macros/src/lower.rs:75
↓ 2 callersFunctiondiscover_fields_in_expr
(expr: &Expr, names: &mut Vec<FieldDef>, seen: &mut HashSet<String>)
macros/src/lower.rs:96
↓ 2 callersFunctionemit_return_struct
(expr: &Expr, ctx: &mut EmitCtx)
macros/src/lower.rs:1355
↓ 2 callersFunctionemit_stmt
(stmt: &Stmt, ctx: &mut EmitCtx)
macros/src/lower.rs:1277
↓ 2 callersFunctionemit_struct_output
(s: &ExprStruct, ctx: &mut EmitCtx)
macros/src/lower.rs:1379
↓ 2 callersFunctionemit_vertex_shader
()
macros/src/lower.rs:1475
↓ 2 callersMethodensure_self_field
(&mut self, field_name: &str)
macros/src/lower.rs:333
↓ 2 callersMethodneighbor_count
(&self)
macros/src/lower.rs:38
↓ 2 callersFunctionparse_spatial_op
(mc: &ExprMethodCall)
macros/src/lower.rs:693
↓ 2 callersMethodrecord_reset
(&mut self)
src/tui.rs:80
↓ 2 callersMethodrecord_resize
(&mut self, width: u32, height: u32)
src/tui.rs:93
↓ 2 callersMethodrun_init_shader
(&mut self)
src/runtime.rs:263
↓ 2 callersMethodrun_tick
(&mut self)
src/runtime.rs:157
↓ 2 callersFunctionsave_params
(state: &ParamState)
src/tui.rs:158
↓ 2 callersMethodskip_condition
(&self)
macros/src/lower.rs:31
↓ 2 callersFunctionvalidate_expr
(expr: &Expr, method: &str, neighborhood: &Neighborhood, in_closure: bool)
macros/src/check.rs:31
↓ 2 callersMethodwrite_defaults
(&self, queue: &Queue, defaults: &[[f32; 4]])
src/texture.rs:76
↓ 1 callersMethodapply_pending_replay
Returns any pending actions (reset, resize) that the caller must perform.
src/tui.rs:112
↓ 1 callersFunctioncell_impl
(attr: TokenStream, item: TokenStream)
macros/src/parse.rs:55
↓ 1 callersFunctioncreate_bind_group_layout
(device: &Device, texture_count: u32, label: &str)
src/pipeline.rs:147
↓ 1 callersFunctioncreate_compute_bind_group
( device: &Device, layout: &BindGroupLayout, read_views: &[&TextureView], write_views: &[&Text
src/pipeline.rs:315
↓ 1 callersFunctioncreate_compute_bind_group_layout
(device: &Device, texture_count: u32)
src/pipeline.rs:77
↓ 1 callersFunctioncreate_compute_pipeline
( device: &Device, shader: &ShaderModule, bind_group_layout: &BindGroupLayout, )
src/pipeline.rs:126
↓ 1 callersFunctioncreate_init_bind_group_layout
(device: &Device)
src/pipeline.rs:182
↓ 1 callersFunctioncreate_init_pipeline
( device: &Device, shader: &ShaderModule, bind_group_layout: &BindGroupLayout, texture_count:
src/pipeline.rs:241
↓ 1 callersFunctioncreate_pipelines
( device: &Device, texture_count: u32, update_shader_src: &str, view_shader_src: &str, ini
src/pipeline.rs:28
↓ 1 callersFunctionderive_cell_state_impl
(input: TokenStream)
macros/src/layout.rs:33
↓ 1 callersFunctiondraw_ui
(f: &mut ratatui::Frame, state: &ParamState)
src/tui.rs:320
↓ 1 callersFunctionemit_binary
(bin: &ExprBinary, ctx: &mut EmitCtx, closure_param: Option<&str>)
macros/src/lower.rs:475
↓ 1 callersFunctionemit_call
(call: &ExprCall, ctx: &mut EmitCtx, closure_param: Option<&str>)
macros/src/lower.rs:602
↓ 1 callersFunctionemit_compute_shader_header
(info: &CellImplInfo, num_textures: usize, tile_size: u32, radius: u32, use_shared: bool)
macros/src/lower.rs:1501
↓ 1 callersFunctionemit_field
(field: &ExprField, ctx: &mut EmitCtx, closure_param: Option<&str>)
macros/src/lower.rs:452
↓ 1 callersFunctionemit_fused_spatial_ops
(ops: &[DeferredSpatialOp], ctx: &mut EmitCtx)
macros/src/lower.rs:1109
↓ 1 callersFunctionemit_if
(if_expr: &ExprIf, ctx: &mut EmitCtx, closure_param: Option<&str>)
macros/src/lower.rs:634
↓ 1 callersFunctionemit_init_shader
(info: &CellImplInfo, block: &Block)
macros/src/lower.rs:1733
↓ 1 callersFunctionemit_lit
(lit: &ExprLit)
macros/src/lower.rs:416
↓ 1 callersFunctionemit_method_call
(mc: &ExprMethodCall, ctx: &mut EmitCtx, closure_param: Option<&str>)
macros/src/lower.rs:505
↓ 1 callersFunctionemit_path
(path: &ExprPath, ctx: &mut EmitCtx)
macros/src/lower.rs:425
↓ 1 callersFunctionemit_shader_header
(info: &CellImplInfo, num_textures: usize)
macros/src/lower.rs:1425
↓ 1 callersFunctionemit_unary
(un: &ExprUnary, ctx: &mut EmitCtx, closure_param: Option<&str>)
macros/src/lower.rs:496
↓ 1 callersFunctionemit_update_shader
(info: &CellImplInfo, block: &Block)
macros/src/lower.rs:1563
↓ 1 callersFunctionemit_view_return
(expr: &Expr, ctx: &mut EmitCtx)
macros/src/lower.rs:1713
↓ 1 callersFunctionemit_view_shader
(info: &CellImplInfo, block: &Block)
macros/src/lower.rs:1649
↓ 1 callersFunctionextract_self_type_name
(item_impl: &ItemImpl)
macros/src/parse.rs:43
↓ 1 callersFunctionis_fusible
(kind: &SpatialKind)
macros/src/lower.rs:668
↓ 1 callersFunctionload_params
(state: &mut ParamState, path: &Path)
src/tui.rs:177
↓ 1 callersFunctionmix
(a: f32, b: f32, t: f32)
src/types.rs:348
↓ 1 callersMethodnext_id
(&mut self)
macros/src/lower.rs:327
↓ 1 callersFunctionparse_neighborhood
(attr: &TokenStream)
macros/src/parse.rs:11
↓ 1 callersMethodrender
(&mut self, window: &Window)
src/runtime.rs:201
↓ 1 callersFunctionrun_tui
(shared: &SharedParams)
src/tui.rs:236
↓ 1 callersFunctionsmoothstep
(lo: f32, hi: f32, x: f32)
src/types.rs:356
↓ 1 callersFunctionspawn
(shared: SharedParams)
src/tui.rs:228
↓ 1 callersMethodswap
(&mut self)
src/texture.rs:72
↓ 1 callersMethodtake_screenshot
(&mut self)
src/runtime.rs:324
↓ 1 callersFunctiontry_parse_spatial_assignment
(expr: &Expr)
macros/src/lower.rs:1348
↓ 1 callersFunctiontype_size
(ty: &Type)
macros/src/layout.rs:10
↓ 1 callersFunctionuniform_buffer_size
(param_count: usize)
src/pipeline.rs:23
↓ 1 callersMethodwrite_views
(&self)
src/texture.rs:60
Methodadd
(self, rhs: Self)
src/types.rs:52
Functionatan2
(y: f32, x: f32)
src/types.rs:361
Functioncell
(attr: TokenStream, item: TokenStream)
macros/src/lib.rs:16
Methodclear_history
(&mut self)
src/tui.rs:137
Methodcross
(self, other: Self)
src/types.rs:140
Methoddefault
()
examples/gray_scott.rs:10
Methoddefault
()
examples/cahn_hilliard.rs:10
Functionderive_cell_state
(input: TokenStream)
macros/src/lib.rs:9
Methoddiv
(self, rhs: Self)
src/types.rs:67
Methoddot
(self, other: Self)
src/types.rs:41
Functionexpr_needs_spatial_accessors
(expr: &Expr, closure_param: &str)
macros/src/lower.rs:291
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
macros/src/lower.rs:59
next →1–100 of 212, ranked by callers