MCPcopy Create free account

hub / github.com/Sunset-Studios/Sundown / functions

Functions1,448 in github.com/Sunset-Studios/Sundown

Methodmat_mul
* Utility to multiply two tensors. * @param {Tensor} tensor - the tensor to multiply. * @returns {Tensor} the product of the two tensors.
engine/src/ml/math/tensor.js:104
Methodmax_point
()
engine/src/acceleration/aabb.js:65
Methodmerge_aabbs
(a_min, a_max, b_min, b_max)
engine/src/acceleration/aabb.js:605
Methodmerge_models
(source_root_id, target_layer_id)
engine/src/ml/ops/op_store.js:913
Methodmin_point
()
engine/src/acceleration/aabb.js:50
Methodmse_loss
(target, output, enabled_logging = false, name = null)
engine/src/ml/ops/op_store.js:433
Methodmse_loss_prime
(target, output)
engine/src/ml/ops/op_store.js:450
Methodnew_instance
(instance_name)
engine/src/renderer/material.js:470
Methodnew_task
* Creates a new compute raster task. * @param {string} name - The name of the task. * @param {string} shader - The path to the compute shader.
engine/src/renderer/compute_raster_task_queue.js:73
Methodnew_task
( name, shader, inputs, outputs, dispatch_x, dispatch_y = 1, dispatch_z = 1 )
engine/src/renderer/compute_task_queue.js:32
Methodnode_type
()
engine/src/acceleration/aabb.js:89
Functionnoop
()
engine/src/utility/logging.js:1
Methodon_post_render
* Adds a callback to be executed after the render graph is submitted. * * @param {Function} callback - The callback function to be executed.
engine/src/renderer/render_graph.js:1185
Methodon_post_render
(callback)
engine/src/renderer/renderer.js:142
Methodon_pre_render
* Adds a callback to be executed before the render graph is submitted. * * @param {Function} callback - The callback function to be executed.
engine/src/renderer/render_graph.js:1129
Methodon_pre_render
(callback)
engine/src/renderer/renderer.js:130
Methodon_resolution_change
()
engine/src/core/subsystems/view_processor.js:33
Methodon_transition
* Adds a callback that will be called on every state transition * @param {Function} callback - Function to call on state transition
engine/src/utility/state_machine.js:143
Methodop_stores
()
engine/src/ml/ops/ops.js:22
Methodparent
()
engine/src/acceleration/aabb.js:116
Methodparse_node_mesh
(gltf_obj, node)
engine/src/renderer/mesh.js:506
Methodpause_training
* Pauses the automated training loop.
engine/src/ml/mastermind.js:253
Methodpeek
* Peek at the top value on the stack without removing it. * @returns {number} The top value. * @throws {Error} If the stack is empty.
engine/src/memory/container.js:929
Methodpeek
* Look at the value at the front of the queue without removing it. * @returns {number} The value at the front of the queue, or default value if emp
engine/src/memory/container.js:1526
Methodpeek
* Peeks at the top object from the frame stack allocator. * @returns {object|primitive} The top object or value
engine/src/memory/allocator.js:200
Methodpeek
()
engine/src/memory/allocator.js:1068
Methodperlin_noise
(x, y)
example/app.js:1505
Methodpersistent
* Getter for the persistent flag. * The flag is stored in a static array for performance. * @returns {boolean} the persistent flag value.
engine/src/ml/math/tensor.js:334
Methodphysical_id
()
engine/src/renderer/texture.js:382
Methodphysical_id
()
engine/src/renderer/buffer.js:123
Methodpop
* Pop a value from the stack. * @returns {number} The popped value. * @throws {Error} If the stack is empty.
engine/src/memory/container.js:917
Methodpop
* Remove and return the last element. * @returns {number} The removed value. * @throws {Error} If the vector is empty.
engine/src/memory/container.js:1229
Methodpop
* Remove and return the value from the front of the queue (dequeue). * @returns {number} The value at the front of the queue, or default value if e
engine/src/memory/container.js:1508
Methodpop
()
engine/src/memory/allocator.js:1061
Methodpop_context
()
engine/src/input/input_provider.js:58
Methodpost_update
(delta_time)
engine/src/core/subsystems/entity_preprocessor.js:32
Methodpost_update
* Post-update the adapter and do any frame-specific cleanup in the processor
engine/src/core/subsystems/aabb_entity_adapter.js:75
Methodpost_update
* Called after the update cycle
engine/src/acceleration/aabb_tree_processor.js:66
Methodpre_update
(delta_time)
example/app.js:1351
Methodpre_update
(delta_time)
engine/src/core/subsystems/ui_processor.js:29
Methodpre_update
(delta_time)
engine/src/core/subsystems/entity_preprocessor.js:23
Methodpre_update
* Pre-update the adapter and do any frame-specific setup in the processor
engine/src/core/subsystems/aabb_entity_adapter.js:53
Methodpre_update
* Called before the update cycle
engine/src/acceleration/aabb_tree_processor.js:37
Methodpush
* Add a value to the end of the queue (enqueue). * @param {number} value - The value to add.
engine/src/memory/container.js:1489
Methodpush
()
engine/src/memory/allocator.js:1054
Methodpush_samples
(source_layer_id, data, shape, batch_size, input_type = InputType.NUMERIC)
engine/src/ml/ops/op_store.js:773
Methodpush_samples
(source_layer_id, data, shape, batch_size, input_type = InputType.NUMERIC)
engine/src/ml/ops/hop_api_adapter.js:41
Functionquat_to_euler
(out, q)
engine/src/utility/linear.js:9
Functionrandom_rgb
()
engine/src/utility/color.js:5
Methodraycast
* Convenience method for single ray casting * @param {Ray} ray - The ray to cast * @param {Object} options - Raycast options * @returns
engine/src/acceleration/aabb_gpu_raycast.js:226
Methodraycast_all
* Cast a ray into the scene and return all hits * @param {Ray} ray - The ray to cast * @param {Object} options - Options for the raycast
engine/src/acceleration/aabb_raycast.js:121
Methodread_tensor
(tensor, index)
engine/src/ml/ops/ops.js:213
Methodread_tensor
(tensor, index)
engine/src/ml/ops/op_store.js:633
Methodreflection
()
engine/src/renderer/material.js:42
Methodregister_font_path
* Registers a new font path to be scanned for fonts. * @param {string} path - The path to the directory containing font files
engine/src/ui/text/font_cache.js:16
Methodregister_observer
(observer)
engine/src/ml/ops/op_store.js:49
Methodregister_shader_path
(path)
engine/src/renderer/shader.js:69
Methodrelease_chunk
* Release a chunk from the archetype. * @param {Chunk} chunk - The chunk to release.
engine/src/core/ecs/solar/archetype.js:84
Methodrelu
(a)
engine/src/ml/ops/op_store.js:330
Methodrelu
* Utility to apply the ReLU function to a tensor. * @returns {Tensor} the ReLU of the tensor.
engine/src/ml/math/tensor.js:157
Methodrelu_backward
(a, grad)
engine/src/ml/ops/op_store.js:344
Methodrelu_backward
* Utility to apply the ReLU function to a tensor. * @param {Tensor} grad - the gradient of the tensor. * @returns {Tensor} the ReLU of the tenso
engine/src/ml/math/tensor.js:166
Methodremove
(entity, resort = true)
engine/src/renderer/mesh_task_queue.js:392
Methodremove_child
(entity, child)
engine/src/ui/3d/element.js:54
Methodremove_fragment
* Removes a fragment from an entity. * @param {number} entity - The entity to remove the fragment from. * @param {typeof import('./fragment.js')
engine/src/core/ecs/entity.js:142
Methodremove_fragment
* Removes a single fragment type from an existing entity. * The entity ID remains stable. * * @param {EntityHandle} handle - The handle of th
engine/src/core/ecs/solar/sector.js:157
Methodremove_node
* Remove a node from the tree. * @param {number} node - The index of the node to remove.
engine/src/memory/container.js:789
Methodremove_of_type
(type)
engine/src/ui/2d/immediate.js:1670
Methodremove_post_render
* Removes a callback from the post-render callbacks list. * * @param {Function} callback - The callback function to be removed. * @returns {v
engine/src/renderer/render_graph.js:1195
Methodremove_post_render
(callback)
engine/src/renderer/renderer.js:150
Methodremove_pre_render
* Removes a callback from the pre-render callbacks list. * * @param {Function} callback - The callback function to be removed. * @returns {vo
engine/src/renderer/render_graph.js:1139
Methodremove_pre_render
(callback)
engine/src/renderer/renderer.js:146
Methodremove_sim_layer
(sim_layer)
engine/src/core/simulator.js:43
Methodremove_tag
* Removes a tag from an entity. * @param {number} entity - The entity to remove the tag from. * @param {typeof import('./fragment.js').Fragment}
engine/src/core/ecs/entity.js:176
Methodremove_transition_callback
* Removes a transition callback * @param {Function} callback - The callback to remove
engine/src/utility/state_machine.js:151
Methodrender
(delta_time)
engine/src/renderer/renderer.js:120
Methodreorder_layer
(layer_id, target_index)
engine/src/ml/ops/op_store.js:892
Methodreorder_layer
* Reorders a layer within its parent's children * * @param {number} layer_id - ID of the layer to reorder * @param {number} target_index - N
engine/src/ml/ops/hop_api_adapter.js:111
Methodreserve
(num_tasks)
engine/src/renderer/mesh_task_queue.js:227
Methodreset
* Reset all post process stacks
engine/src/renderer/post_process_stack.js:189
Methodreset
()
engine/src/renderer/compute_task_queue.js:101
Methodreset
(slot)
engine/src/renderer/bind_group.js:60
Methodreset
* Reset the size of the array to zero.
engine/src/memory/container.js:44
Methodreset
* Resets the frame allocator to its initial state.
engine/src/memory/allocator.js:89
Methodreset
* Resets the frame stack allocator to its initial state.
engine/src/memory/allocator.js:218
Methodreset
* Resets the ring buffer to its initial state.
engine/src/memory/allocator.js:351
Methodreset
* Resets the free list allocator to its initial state.
engine/src/memory/allocator.js:580
Methodreset
* Clears all elements from the allocator
engine/src/memory/allocator.js:831
Methodreset
()
engine/src/memory/allocator.js:977
Methodreset
()
engine/src/memory/allocator.js:1092
Methodreset
()
engine/src/memory/allocator.js:1216
Methodreset
()
engine/src/memory/allocator.js:1333
Methodreset
()
engine/src/memory/allocator.js:1506
Methodreset
()
engine/src/acceleration/aabb_raycast.js:64
Methodreset
()
engine/src/ml/ops/op_store.js:943
Methodreset
()
engine/src/ml/ops/op_types.js:80
Methodreset_all
* Resets all layers in the system
engine/src/ml/layer.js:961
Methodreset_model
(parent = null)
engine/src/ml/ops/op_store.js:814
Methodreshape
(a, shape)
engine/src/ml/ops/ops.js:91
Methodreshape
(a, shape)
engine/src/ml/ops/op_store.js:196
← previousnext →1,201–1,300 of 1,448, ranked by callers