MCPcopy Create free account

hub / github.com/anima-libera/qwy3 / functions

Functions427 in github.com/anima-libera/qwy3

↓ 110 callersMethodsample_3d_1d
( &self, coords: cgmath::Point3<f32>, additional_channels: &[i32], )
src/noise.rs:150
↓ 64 callersMethodget
(&self)
src/chunks.rs:577
↓ 50 callersMethodground_id
(&self)
src/block_types.rs:65
↓ 49 callersMethodbind_group_entry
(&self, binding: u32)
src/rendering_init.rs:65
↓ 49 callersMethodlayout_entry
( &self, binding: u32, visibility: wgpu::ShaderStages, )
src/rendering_init.rs:20
↓ 48 callersMethodindex
(self)
src/coords.rs:317
↓ 47 callersMethodair_id
(&self)
src/block_types.rs:61
↓ 44 callersMethodset_id
(&mut self, coords: BlockCoords, block_id: BlockTypeId)
src/chunk_blocks.rs:399
↓ 41 callersMethodcoords_span
(&self)
src/chunk_blocks.rs:390
↓ 40 callersMethoditer
(self)
src/coords.rs:192
↓ 39 callersMethoditer_coords
(self)
src/coords.rs:59
↓ 38 callersMethodfinish_generation
(mut self)
src/chunk_blocks.rs:403
↓ 38 callersMethodkinda_grass_id
(&self)
src/block_types.rs:69
↓ 30 callersFunctiondistance_to_segment
Distance from the given `point` to the segment between the two point `a` and `b`.
src/world_gen/mod.rs:668
↓ 29 callersMethodsample
(&self, xs: &[f32], additional_channels: &[&[i32]])
src/noise.rs:134
↓ 24 callersMethodis_air
(&self)
src/block_types.rs:15
↓ 21 callersMethodto_vec3
Turn it into a good old vec3, normalized.
src/coords.rs:536
↓ 19 callersMethodsample_2d_1d
( &self, coords: cgmath::Point2<f32>, additional_channels: &[i32], )
src/noise.rs:142
↓ 18 callersMethodaligned_box
(&self)
src/physics.rs:33
↓ 18 callersMethoddelta
(self)
src/coords.rs:425
↓ 18 callersMethodget_pixel
(&self, coords: cgmath::Point2<i32>)
src/texture_gen.rs:23
↓ 17 callersMethodblock_coords_inf
(self)
src/coords.rs:51
↓ 17 callersMethodset
(&mut self, coords: BlockCoords, value: bool)
src/chunk_meshing.rs:539
↓ 14 callersMethodsample_i1d_1d
(&self, coord: i32, additional_channels: &[i32])
src/noise.rs:169
↓ 14 callersMethodsample_i2d_1d
( &self, coords: cgmath::Point2<i32>, additional_channels: &[i32], )
src/noise.rs:175
↓ 14 callersMethodsample_i3d_1d
( &self, coords: cgmath::Point3<i32>, additional_channels: &[i32], )
src/noise.rs:183
↓ 13 callersMethodblock_coords_sup_excluded
(self)
src/coords.rs:55
↓ 13 callersMethodget
(&self, coords: BlockCoords)
src/chunk_meshing.rs:544
↓ 12 callersMethodcontains
(self, coords: BlockCoords)
src/coords.rs:63
↓ 12 callersFunctioniter_3d_rect_inf_sup_excluded
( inf: cgmath::Point3<i32>, sup_excluded: cgmath::Point3<i32>, )
src/coords.rs:226
↓ 11 callersMethodaligned_box
(&self)
src/entities.rs:165
↓ 10 callersFunctioniter_3d_cube_center_radius
( center: cgmath::Point3<i32>, radius: i32, )
src/coords.rs:272
↓ 10 callersFunctionrun
( qwy_script_code: &str, context: &mut Context, log: &mut Log, )
src/lang.rs:730
↓ 9 callersMethoddimensions
(self)
src/coords.rs:37
↓ 9 callersMethodis_loaded
(&self, chunk_coords: ChunkCoords)
src/chunks.rs:66
↓ 9 callersMethodnew_rand_state
(&mut self)
src/world_gen/mod.rs:3715
↓ 9 callersMethodperform_now_or_later
Given an operation that requires write access to the `ChunkGrid`, we either perform it now (if we have write access), or else record it (and it will b
src/chunks.rs:709
↓ 9 callersMethodsign
(self)
src/coords.rs:367
↓ 9 callersMethodworld_coords_to_containing_chunk_coords
(self, coords: BlockCoords)
src/coords.rs:297
↓ 8 callersFunctionrender_pipeline_and_bind_group
( device: &wgpu::Device, binding_thingies: BindingThingies, output_format: wgpu::TextureFormat, z_buffer_f
src/shaders/block.rs:39
↓ 7 callersMethodexistence_ratio
Returns a value between 0.0 and 1.0 that represents how much the widget "exists". For example, a widget that is a wrapper with an apparition animation
src/widgets.rs:322
↓ 7 callersMethodget_block
(&self, coords: BlockCoords)
src/chunks.rs:202
↓ 7 callersMethodplace_ball
( &mut self, block_placing: &BlockPlacing, center: cgmath::Point3<f32>, radius: f32, )
src/world_gen/structure_engine.rs:189
↓ 7 callersMethodwrite
(&self, data: &[u8])
src/saves.rs:129
↓ 6 callersMethodadd_margins
(&mut self, margin_to_add: i32)
src/coords.rs:173
↓ 6 callersMethodcd
(&self)
src/chunks.rs:62
↓ 6 callersMethoddimensions
Returns the dimensions of the widget, already corrected to wgsl coords space.
src/widgets.rs:348
↓ 6 callersMethodis_opaque
(&self)
src/block_types.rs:11
↓ 6 callersMethodnumber_of_blocks_in_a_chunk
(self)
src/coords.rs:33
↓ 6 callersMethodpos
(&self)
src/entities.rs:153
↓ 5 callersMethodenqueue_task
(&self, task: Task)
src/threadpool.rs:155
↓ 5 callersMethodfind_label_content
Returns the content of the first found label widget that matches with the given label.
src/widgets.rs:308
↓ 5 callersMethodgenerated_test_id
(&self, index: usize)
src/block_types.rs:89
↓ 5 callersMethodget_origins_in_span
(&self, span: CubicCoordsSpan)
src/world_gen/structure_engine.rs:54
↓ 5 callersMethodget_type
(&self)
src/lang.rs:37
↓ 5 callersMethodkinda_grass_blades_id
(&self)
src/block_types.rs:73
↓ 5 callersMethodkinda_leaf_id
(&self)
src/block_types.rs:81
↓ 5 callersMethodread
(&self, delete_file_after_read: bool)
src/saves.rs:135
↓ 5 callersMethodsimple_texture_vertices_from_text
( &self, window_width: f32, mut coords: cgmath::Point3<f32>, settings: TextRenderingSettings, text:
src/font.rs:262
↓ 4 callersMethodadd_entity
(&mut self, entity: Entity, save: Option<&Arc<Save>>)
src/chunks.rs:404
↓ 4 callersMethodadd_simple_texture_vertices
(&mut self, mut vertices: Vec<SimpleTextureVertexPod>)
src/widgets.rs:711
↓ 4 callersMethodchunk_file_path
( &self, chunk_coords: ChunkCoords, which_file: WhichChunkFile, )
src/saves.rs:79
↓ 4 callersFunctioncolor_dist
(a: Color, b: Color)
src/texture_gen.rs:232
↓ 4 callersMethodcount_entities
(&self)
src/entities.rs:524
↓ 4 callersMethoddelete
If the handler refered to an allocated instance, then the instance is released from its existence.
src/entity_parts.rs:112
↓ 4 callersMethoddimensions_of_text
Returns (width, height) in screen pixels of the smallest rect that would contain the rendering of the given text.
src/font.rs:221
↓ 4 callersMethodget_file_io
(&self, path: PathBuf)
src/saves.rs:105
↓ 4 callersMethodis_exclusively_owned
(&self)
src/chunks.rs:596
↓ 4 callersMethodkinda_wood_id
(&self)
src/block_types.rs:77
↓ 4 callersMethodlog_widget
(&mut self, widget_to_log: Widget)
src/interface.rs:75
↓ 4 callersMethodon_ground_and_not_overlapping
(&self)
src/physics.rs:36
↓ 4 callersMethodoverlapping_block_coords_span
(&self)
src/coords.rs:657
↓ 4 callersMethodpartial_cmp
(&self, other: &Self)
src/table_allocator.rs:32
↓ 4 callersMethodplace_block
(&mut self, block_placing: &BlockPlacing, coords: BlockCoords)
src/world_gen/structure_engine.rs:176
↓ 4 callersMethodsave
(&self, save: &Arc<Save>)
src/atlas.rs:200
↓ 4 callersMethodthe_other_two_axes
(self)
src/coords.rs:333
↓ 3 callersFunctioncolor_weighted_mean
(weighted_colors: &[WeightedValue<Color>])
src/texture_gen.rs:261
↓ 3 callersMethodcoords_to_index_in_data
(&self, coords: BlockCoords)
src/chunk_meshing.rs:531
↓ 3 callersMethodensure_is_allocated
( &mut self, part_table: &mut PartTable<T>, initialize: impl FnOnce() -> T::Instance, )
src/entity_parts.rs:80
↓ 3 callersMethodexterior_coords
(&self)
src/coords.rs:475
↓ 3 callersMethodget_data_for_rendering
(&self)
src/entity_parts.rs:271
↓ 3 callersFunctioninterpolate
( smoothing: &dyn Fn(f32) -> f32, x: f32, x_inf: f32, x_sup: f32, dst_inf: f32, dst_sup: f32, )
src/noise.rs:53
↓ 3 callersMethodinto_pod
Converts into the form that can be stored in a `PartTable`.
src/entity_parts.rs:561
↓ 3 callersMethodlength
(self)
src/table_allocator.rs:46
↓ 3 callersMethodmerge_to
(&mut self, mut other: ChunkEntities)
src/entities.rs:505
↓ 3 callersMethodmodify_instance
( &mut self, part_table: &mut PartTable<T>, callback: impl FnOnce(&mut T::Instance), )
src/entity_parts.rs:95
↓ 3 callersMethodoverlaps
(&self, other: &CubicCoordsSpan)
src/coords.rs:178
↓ 3 callersFunctionparse
( qwy_script_code: &str, type_context: &TypeContext, )
src/lang.rs:722
↓ 3 callersMethodperform_now_or_dont
(&mut self, f: impl FnOnce(&mut ChunkGrid))
src/chunks.rs:725
↓ 3 callersFunctionpoint3_lerp
Returns `inf` when `value` is 0.0 and `sup` when `value` is 1.0.
src/skybox.rs:209
↓ 3 callersMethodsample_i1d_i1d
(&self, coord: i32, additional_channels: &[i32])
src/noise.rs:172
↓ 3 callersMethodset_model_matrix
(&mut self, model_matrix: &cgmath::Matrix4<f32>)
src/entity_parts.rs:473
↓ 3 callersMethodto_horizontal
(mut self)
src/coords.rs:530
↓ 2 callersMethodadd_chunk_entities
To insert or re-insert a `ChunkEntities` in the map, using this method ensures that if the chunk already had a `ChunkEntities` then it is merged with
src/chunks.rs:371
↓ 2 callersMethodadd_simple_line_vertices
(&mut self, mut vertices: Vec<SimpleLineVertexPod>)
src/widgets.rs:715
↓ 2 callersMethodadd_to_horizontal_angle
( mut self, angle_horizontal_to_add: f32, )
src/coords.rs:517
↓ 2 callersMethodallocate_one
Let the allocator pick a free index that becomes allocated. It may return `NeedsBiggerBuffer` in case it runs out of space, and if such lengthening ha
src/table_allocator.rs:82
↓ 2 callersMethodapply_actions_on_world
( &mut self, action_on_world: ActionOnWorld, save: Option<&Arc<Save>>, id_generator: &IdGenerator, )
src/chunks.rs:304
↓ 2 callersMethodapply_initializer
(&mut self, initializer: &Initializer, world_seed: i32, texture_seed: i32)
src/texture_gen.rs:33
↓ 2 callersMethodapply_texture_generator
( &mut self, generator: &TextureGenerator, world_seed: i32, texture_seed: i32, )
src/texture_gen.rs:57
next →1–100 of 427, ranked by callers