MCPcopy Create free account

hub / github.com/Sheldonfrith/bevy_gpu_compute / functions

Functions428 in github.com/Sheldonfrith/bevy_gpu_compute

↓ 60 callersMethodpush
Using "array_set" is generally more performant, use this only if you can't determine beforehand the number of outputs you will be producing. Using thi
bevy_gpu_compute_core/src/wgsl/user_facing_api/helpers/output.rs:10
↓ 30 callersMethodinsert
(&mut self, key: K, value: V)
bevy_gpu_compute/src/task/compute_pipeline/lru_cache.rs:27
↓ 20 callersFunctiontransform_wgsl_helper_methods
Rust's normal type checking will ensure that these helper functions are using correctly defined types
bevy_gpu_compute_macro/src/pipeline/phases/wgsl_helper_transformer/run.rs:18
↓ 16 callersMethodconfiguration
(&self)
bevy_gpu_compute/src/task/lib.rs:46
↓ 16 callersMethodget
(&self)
bevy_gpu_compute_core/src/wgsl/user_facing_api/primitives/pod_f16.rs:23
↓ 14 callersMethodpush_str_w_newline
(&mut self, s: &str)
bevy_gpu_compute_core/src/wgsl/shader_module/complete_shader_module.rs:87
↓ 13 callersMethodoutputs
(&self)
bevy_gpu_compute/src/task/task_components/configuration/lib.rs:49
↓ 12 callersMethodarrays
(&self)
bevy_gpu_compute/src/task/task_components/configuration/input_spec.rs:14
↓ 12 callersMethodget
(&mut self, key: &K)
bevy_gpu_compute/src/task/compute_pipeline/lru_cache.rs:18
↓ 12 callersMethodlen
returns the number of times this vector has been pushed to. (Or, for the power-user, the value of the atomic counter)
bevy_gpu_compute_core/src/wgsl/user_facing_api/helpers/output.rs:21
↓ 10 callersMethodname
getters
bevy_gpu_compute/src/task/lib.rs:43
↓ 10 callersMethodname
(&self)
bevy_gpu_compute_core/src/wgsl/shader_custom_type_name.rs:31
↓ 9 callersMethodoutput_array
(&self)
bevy_gpu_compute_macro/src/pipeline/phases/custom_type_collector/custom_type_idents.rs:42
↓ 8 callersMethodbuffers
(&self)
bevy_gpu_compute/src/task/lib.rs:56
↓ 8 callersMethodruntime_state
(&self)
bevy_gpu_compute/src/task/lib.rs:50
↓ 7 callersMethodcustom_types
(&self)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:46
↓ 7 callersMethodinputs
(&self)
bevy_gpu_compute/src/task/task_components/configuration/lib.rs:45
↓ 7 callersMethodoriginal_rust_module
(&self)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:52
↓ 6 callersMethodcurrent_data
(&self)
bevy_gpu_compute/src/task/lib.rs:62
↓ 6 callersMethodinput_array
(&self)
bevy_gpu_compute_macro/src/pipeline/phases/custom_type_collector/custom_type_idents.rs:35
↓ 5 callersMethodbuffers_mut
(&mut self)
bevy_gpu_compute/src/task/lib.rs:59
↓ 5 callersMethodinto_wgsl_type
(self, custom_types: &Vec<CustomType>)
bevy_gpu_compute_macro/src/pipeline/phases/custom_type_collector/custom_type.rs:51
↓ 5 callersMethoditeration_space
(&self)
bevy_gpu_compute/src/task/task_components/configuration/lib.rs:41
↓ 5 callersMethodmax_lengths
(&self)
bevy_gpu_compute/src/task/task_components/configuration/output_spec.rs:19
↓ 5 callersMethodoutput_array_length
(&self)
bevy_gpu_compute_macro/src/pipeline/phases/custom_type_collector/custom_type_idents.rs:39
↓ 5 callersMethodrun_commands
Runs all previously queued commands for the task
bevy_gpu_compute/src/system_params/task_runner.rs:50
↓ 5 callersMethodtask
get a GpuTaskCommands object, which is actually a queue of commands to be run. #### You MUST call `run_commands` on the returned object to actually ru
bevy_gpu_compute/src/system_params/task_runner.rs:39
↓ 4 callersFunctioncalculate_distance_squared
(p1: [f32; 2], p2: [f32; 2])
bevy_gpu_compute_macro/tests/components.rs:189
↓ 4 callersFunctionconvert_file_to_wgsl
called_from is for debug messages
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/mod.rs:71
↓ 4 callersMethodcounter
(&self)
bevy_gpu_compute_macro/src/pipeline/phases/custom_type_collector/custom_type_idents.rs:46
↓ 4 callersMethodcreate_bind_group_layout_entry
( &self, binding_number: u32, is_input: bool, is_uniform: bool, )
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:191
↓ 4 callersMethodcurrent_data_mut
(&mut self)
bevy_gpu_compute/src/task/lib.rs:65
↓ 4 callersMethodget_by_name
(&self, output_item_name: &ShaderCustomTypeName)
bevy_gpu_compute_core/src/rust/max_output_lengths.rs:26
↓ 4 callersMethodrun
This queues a run of the task. You still MUST call `GpuTaskRunner::run_commands` for this to take effect.
bevy_gpu_compute/src/task/commands.rs:77
↓ 4 callersMethoduniform
(&self)
bevy_gpu_compute_macro/src/pipeline/phases/custom_type_collector/custom_type_idents.rs:29
↓ 3 callersFunctionarray_to_wgsl
(arr: &syn::TypeArray)
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/array.rs:23
↓ 3 callersMethodconfigs
(&self)
bevy_gpu_compute/src/task/task_components/configuration/input_spec.rs:17
↓ 3 callersFunctionconvert_single_constructor
(input: &str)
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/wgsl_builtin_constructors.rs:89
↓ 3 callersMethodentity
(&self)
bevy_gpu_compute/src/task/commands.rs:47
↓ 3 callersMethodhash
(&self)
bevy_gpu_compute/src/task/task_components/input_lengths.rs:44
↓ 3 callersMethodinput_array_length
(&self)
bevy_gpu_compute_macro/src/pipeline/phases/custom_type_collector/custom_type_idents.rs:32
↓ 3 callersMethodinput_lengths
(&self)
bevy_gpu_compute/src/task/task_components/data.rs:31
↓ 3 callersMethodmutate
runtime state has to be updated if either iteration space or output array lengths is changed, so more efficient to combine updates into a single metho
bevy_gpu_compute/src/task/lib.rs:126
↓ 3 callersMethodnum_dimmensions
(&self)
bevy_gpu_compute/src/task/task_components/configuration/iteration_space.rs:72
↓ 3 callersMethodruntime_state_mut
(&mut self)
bevy_gpu_compute/src/task/lib.rs:53
↓ 3 callersMethodset
(&mut self, output_type_name: &str, length: usize)
bevy_gpu_compute_core/src/rust/max_output_lengths.rs:36
↓ 3 callersMethodworkgroup_space
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:50
↓ 2 callersFunctionconvert_wgsl_builtin_constructors
for converting vec and mat types *Vectors are declared with the form vecN<T> , where N is the number of elements in the vector, and T is the element t
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/wgsl_builtin_constructors.rs:85
↓ 2 callersMethodeq
(&self, other: &Ident)
bevy_gpu_compute_macro/src/pipeline/phases/custom_type_collector/custom_type_idents.rs:26
↓ 2 callersMethodget_bytes
(&self, input_name: &str)
bevy_gpu_compute_core/src/rust/type_erased_output_data.rs:16
↓ 2 callersFunctionget_single_input_type_metadata
(binding_num: u32, input_type: &str)
bevy_gpu_compute_macro/src/pipeline/phases/final_structure_generator/types_for_rust_usage.rs:80
↓ 2 callersMethodinput_array
(group_num: u32, entry_num: u32, name: String, type_decl: String)
bevy_gpu_compute_core/src/wgsl/shader_sections/wgpu_binding.rs:46
↓ 2 callersMethodinput_array_length
(&self)
bevy_gpu_compute_core/src/wgsl/shader_custom_type_name.rs:40
↓ 2 callersMethodoutput_array
(group_num: u32, entry_num: u32, name: String, type_decl: String)
bevy_gpu_compute_core/src/wgsl/shader_sections/wgpu_binding.rs:56
↓ 2 callersMethodoutput_array_length
(&self)
bevy_gpu_compute_core/src/wgsl/shader_custom_type_name.rs:47
↓ 2 callersFunctionparse_possible_wgsl_helper
( call: &'a ExprCall, custom_types: &'a [CustomType], )
bevy_gpu_compute_macro/src/pipeline/phases/wgsl_helper_transformer/parse.rs:44
↓ 2 callersMethodpipeline_cache_mut
(&mut self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:62
↓ 2 callersMethodrust_module_for_cpu
(&self)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:37
↓ 2 callersMethodset_custom_types
(&mut self, custom_types: Vec<CustomType>)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:43
↓ 2 callersMethodset_inputs
This queues a mutation of the task. You still MUST call `GpuTaskRunner::run_commands` for this to take effect.
bevy_gpu_compute/src/task/commands.rs:58
↓ 2 callersMethodset_rust_module_for_cpu
(&mut self, rust_module_for_cpu: syn::ItemMod)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:64
↓ 2 callersMethodshader
(&self)
bevy_gpu_compute/src/task/task_components/configuration/lib.rs:37
↓ 2 callersMethoduniform
(group_num: u32, entry_num: u32, name: String, type_decl: &str)
bevy_gpu_compute_core/src/wgsl/shader_sections/wgpu_binding.rs:36
↓ 2 callersFunctionupdate_compute_pipeline
(task: &mut BevyGpuComputeTask, render_device: &RenderDevice)
bevy_gpu_compute/src/task/compute_pipeline/update_on_pipeline_const_change.rs:9
↓ 2 callersMethodversion
(&self)
bevy_gpu_compute/src/task/task_components/configuration/lib.rs:52
↓ 2 callersMethodwgsl_module_user_portion
(&self)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:73
↓ 2 callersMethodx
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/gpu_workgroup_space.rs:28
↓ 2 callersMethody
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/gpu_workgroup_space.rs:31
↓ 2 callersMethodz
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/gpu_workgroup_space.rs:34
↓ 1 callersMethod_internal_set_iteration_space
ensure that the runtime state has been properly updated whenever we change the iteration space
bevy_gpu_compute/src/task/task_components/configuration/lib.rs:61
↓ 1 callersMethod_internal_set_max_lengths
ensure that runtime state was properly updated whenever you update max lengths
bevy_gpu_compute/src/task/task_components/configuration/output_spec.rs:23
↓ 1 callersMethod_internal_set_max_output_bytes
(&mut self, new_max_output_bytes: MaxOutputBytes)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:77
↓ 1 callersMethod_internal_set_workgroup_sizes
(&mut self, new_workgroup_sizes: GpuWorkgroupSizes)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:83
↓ 1 callersMethod_internal_set_workgroup_space
(&mut self, new_gpu_workgroup_space: GpuWorkgroupSpace)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:80
↓ 1 callersFunctionadd_array_lengths_to_main
( wgsl_shader_module_parsed: &WgslShaderModuleUserPortion, main_func: &mut ItemFn, )
bevy_gpu_compute_macro/src/pipeline/phases/module_for_rust_usage_cleaner/alter_main_function_for_cpu_usage.rs:83
↓ 1 callersFunctionadd_params_to_main
( wgsl_shader_module_parsed: &WgslShaderModuleUserPortion, main_func: &mut ItemFn, )
bevy_gpu_compute_macro/src/pipeline/phases/module_for_rust_usage_cleaner/alter_main_function_for_cpu_usage.rs:37
↓ 1 callersFunctionalter_global_id_argument
we have to alter the main function argument to match the wgsl spec by string replace instead of ast manipulation because the new argument is not a val
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/main_function.rs:72
↓ 1 callersFunctionalter_main_function_for_cpu_usage
( wgsl_shader_module_parsed: &WgslShaderModuleUserPortion, main_func: &mut ItemFn, )
bevy_gpu_compute_macro/src/pipeline/phases/module_for_rust_usage_cleaner/alter_main_function_for_cpu_usage.rs:29
↓ 1 callersMethodbind_group
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:65
↓ 1 callersMethodbind_group_layout
(&self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:71
↓ 1 callersMethodbind_group_mut
(&mut self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:68
↓ 1 callersMethodbuild
(&mut self)
bevy_gpu_compute/src/task/task_components/runtime_state/lib.rs:106
↓ 1 callersFunctioncalculate_distance_squared
(p1: Vec2F32, p2: Vec2F32)
bevy_gpu_compute/examples/collision_detection_barebones/main.rs:60
↓ 1 callersFunctioncalculate_distance_squared
(p1: Vec2F32, p2: Vec2F32)
bevy_gpu_compute/examples/collision_detection_demonstration/main.rs:85
↓ 1 callersFunctioncheck_for_iter_pos_assignment
(assign: &ExprAssign)
bevy_gpu_compute_macro/src/pipeline/phases/non_mutating_tree_validation/validate_no_iter_pos_assignments.rs:17
↓ 1 callersMethodclear_output
(&mut self)
bevy_gpu_compute/src/task/task_components/data.rs:44
↓ 1 callersFunctioncollect_custom_types
(original_rust_module: &syn::ItemMod)
bevy_gpu_compute_macro/src/pipeline/phases/custom_type_collector/collect.rs:43
↓ 1 callersMethodcompile
(&self, module: syn::ItemMod)
bevy_gpu_compute_macro/src/pipeline/lib.rs:34
↓ 1 callersMethodcompiled_tokens
(&self)
bevy_gpu_compute_macro/src/pipeline/compilation_unit.rs:58
↓ 1 callersMethodconfig_input
(&self)
bevy_gpu_compute/src/task/task_components/data.rs:19
↓ 1 callersMethodcontains_key
(&self, key: &K)
bevy_gpu_compute/src/task/compute_pipeline/lru_cache.rs:44
↓ 1 callersFunctionconvert_path_segment
(segment: PathSegment, custom_types: &[CustomType])
bevy_gpu_compute_macro/src/pipeline/phases/gpu_resource_mngmnt_and_wgsl_generator/to_wgsl_syntax/type.rs:24
↓ 1 callersFunctioncreate_bind_group
Binding the buffers to the corresponding wgsl code. For example, this might be the wgsl code: ```wgsl @group(0) @binding(0) var<storage, read> posit
bevy_gpu_compute/src/task/dispatch/create_bind_group.rs:21
↓ 1 callersFunctioncreate_circle_outline_components
( radius: f32, outline_color: AvailableColor, color_handles: &Res<ColorHandles>, meshes: &mut
bevy_gpu_compute/examples/collision_detection_barebones/visuals.rs:68
↓ 1 callersFunctioncreate_circle_outline_components
( radius: f32, outline_color: AvailableColor, color_handles: &Res<ColorHandles>, meshes: &mut
bevy_gpu_compute/examples/collision_detection_demonstration/visuals.rs:68
↓ 1 callersFunctioncreate_config_input_data_builder
(custom_types: &[CustomType])
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/config_input_data_builder.rs:12
↓ 1 callersFunctioncreate_input_data_builder
(custom_types: &[CustomType])
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/input_data_builder.rs:12
↓ 1 callersFunctioncreate_max_output_lengths_builder
(custom_types: &[CustomType])
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/max_output_lengths_builder.rs:10
↓ 1 callersFunctioncreate_output_data_builder
(custom_types: &[CustomType])
bevy_gpu_compute_macro/src/pipeline/phases/typesafe_buffer_builders_generator/output_data_builder.rs:10
↓ 1 callersFunctiondefine_types_for_use_in_rust_and_set_binding_numbers
( wgsl_shader_module: &mut WgslShaderModuleUserPortion, )
bevy_gpu_compute_macro/src/pipeline/phases/final_structure_generator/types_for_rust_usage.rs:11
next →1–100 of 428, ranked by callers