Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sunset-Studios/Sundown
/ functions
Functions
1,448 in github.com/Sunset-Studios/Sundown
⨍
Functions
1,448
◇
Types & classes
332
Method
mat_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
Method
max_point
()
engine/src/acceleration/aabb.js:65
Method
merge_aabbs
(a_min, a_max, b_min, b_max)
engine/src/acceleration/aabb.js:605
Method
merge_models
(source_root_id, target_layer_id)
engine/src/ml/ops/op_store.js:913
Method
min_point
()
engine/src/acceleration/aabb.js:50
Method
mse_loss
(target, output, enabled_logging = false, name = null)
engine/src/ml/ops/op_store.js:433
Method
mse_loss_prime
(target, output)
engine/src/ml/ops/op_store.js:450
Method
new_instance
(instance_name)
engine/src/renderer/material.js:470
Method
new_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
Method
new_task
( name, shader, inputs, outputs, dispatch_x, dispatch_y = 1, dispatch_z = 1 )
engine/src/renderer/compute_task_queue.js:32
Method
node_type
()
engine/src/acceleration/aabb.js:89
Function
noop
()
engine/src/utility/logging.js:1
Method
on_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
Method
on_post_render
(callback)
engine/src/renderer/renderer.js:142
Method
on_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
Method
on_pre_render
(callback)
engine/src/renderer/renderer.js:130
Method
on_resolution_change
()
engine/src/core/subsystems/view_processor.js:33
Method
on_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
Method
op_stores
()
engine/src/ml/ops/ops.js:22
Method
parent
()
engine/src/acceleration/aabb.js:116
Method
parse_node_mesh
(gltf_obj, node)
engine/src/renderer/mesh.js:506
Method
pause_training
* Pauses the automated training loop.
engine/src/ml/mastermind.js:253
Method
peek
* 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
Method
peek
* 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
Method
peek
* Peeks at the top object from the frame stack allocator. * @returns {object|primitive} The top object or value
engine/src/memory/allocator.js:200
Method
peek
()
engine/src/memory/allocator.js:1068
Method
perlin_noise
(x, y)
example/app.js:1505
Method
persistent
* 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
Method
physical_id
()
engine/src/renderer/texture.js:382
Method
physical_id
()
engine/src/renderer/buffer.js:123
Method
pop
* Pop a value from the stack. * @returns {number} The popped value. * @throws {Error} If the stack is empty.
engine/src/memory/container.js:917
Method
pop
* Remove and return the last element. * @returns {number} The removed value. * @throws {Error} If the vector is empty.
engine/src/memory/container.js:1229
Method
pop
* 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
Method
pop
()
engine/src/memory/allocator.js:1061
Method
pop_context
()
engine/src/input/input_provider.js:58
Method
post_update
(delta_time)
engine/src/core/subsystems/entity_preprocessor.js:32
Method
post_update
* Post-update the adapter and do any frame-specific cleanup in the processor
engine/src/core/subsystems/aabb_entity_adapter.js:75
Method
post_update
* Called after the update cycle
engine/src/acceleration/aabb_tree_processor.js:66
Method
pre_update
(delta_time)
example/app.js:1351
Method
pre_update
(delta_time)
engine/src/core/subsystems/ui_processor.js:29
Method
pre_update
(delta_time)
engine/src/core/subsystems/entity_preprocessor.js:23
Method
pre_update
* Pre-update the adapter and do any frame-specific setup in the processor
engine/src/core/subsystems/aabb_entity_adapter.js:53
Method
pre_update
* Called before the update cycle
engine/src/acceleration/aabb_tree_processor.js:37
Method
push
* Add a value to the end of the queue (enqueue). * @param {number} value - The value to add.
engine/src/memory/container.js:1489
Method
push
()
engine/src/memory/allocator.js:1054
Method
push_samples
(source_layer_id, data, shape, batch_size, input_type = InputType.NUMERIC)
engine/src/ml/ops/op_store.js:773
Method
push_samples
(source_layer_id, data, shape, batch_size, input_type = InputType.NUMERIC)
engine/src/ml/ops/hop_api_adapter.js:41
Function
quat_to_euler
(out, q)
engine/src/utility/linear.js:9
Function
random_rgb
()
engine/src/utility/color.js:5
Method
raycast
* 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
Method
raycast_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
Method
read_tensor
(tensor, index)
engine/src/ml/ops/ops.js:213
Method
read_tensor
(tensor, index)
engine/src/ml/ops/op_store.js:633
Method
reflection
()
engine/src/renderer/material.js:42
Method
register_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
Method
register_observer
(observer)
engine/src/ml/ops/op_store.js:49
Method
register_shader_path
(path)
engine/src/renderer/shader.js:69
Method
release_chunk
* Release a chunk from the archetype. * @param {Chunk} chunk - The chunk to release.
engine/src/core/ecs/solar/archetype.js:84
Method
relu
(a)
engine/src/ml/ops/op_store.js:330
Method
relu
* Utility to apply the ReLU function to a tensor. * @returns {Tensor} the ReLU of the tensor.
engine/src/ml/math/tensor.js:157
Method
relu_backward
(a, grad)
engine/src/ml/ops/op_store.js:344
Method
relu_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
Method
remove
(entity, resort = true)
engine/src/renderer/mesh_task_queue.js:392
Method
remove_child
(entity, child)
engine/src/ui/3d/element.js:54
Method
remove_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
Method
remove_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
Method
remove_node
* Remove a node from the tree. * @param {number} node - The index of the node to remove.
engine/src/memory/container.js:789
Method
remove_of_type
(type)
engine/src/ui/2d/immediate.js:1670
Method
remove_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
Method
remove_post_render
(callback)
engine/src/renderer/renderer.js:150
Method
remove_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
Method
remove_pre_render
(callback)
engine/src/renderer/renderer.js:146
Method
remove_sim_layer
(sim_layer)
engine/src/core/simulator.js:43
Method
remove_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
Method
remove_transition_callback
* Removes a transition callback * @param {Function} callback - The callback to remove
engine/src/utility/state_machine.js:151
Method
render
(delta_time)
engine/src/renderer/renderer.js:120
Method
reorder_layer
(layer_id, target_index)
engine/src/ml/ops/op_store.js:892
Method
reorder_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
Method
reserve
(num_tasks)
engine/src/renderer/mesh_task_queue.js:227
Method
reset
* Reset all post process stacks
engine/src/renderer/post_process_stack.js:189
Method
reset
()
engine/src/renderer/compute_task_queue.js:101
Method
reset
(slot)
engine/src/renderer/bind_group.js:60
Method
reset
* Reset the size of the array to zero.
engine/src/memory/container.js:44
Method
reset
* Resets the frame allocator to its initial state.
engine/src/memory/allocator.js:89
Method
reset
* Resets the frame stack allocator to its initial state.
engine/src/memory/allocator.js:218
Method
reset
* Resets the ring buffer to its initial state.
engine/src/memory/allocator.js:351
Method
reset
* Resets the free list allocator to its initial state.
engine/src/memory/allocator.js:580
Method
reset
* Clears all elements from the allocator
engine/src/memory/allocator.js:831
Method
reset
()
engine/src/memory/allocator.js:977
Method
reset
()
engine/src/memory/allocator.js:1092
Method
reset
()
engine/src/memory/allocator.js:1216
Method
reset
()
engine/src/memory/allocator.js:1333
Method
reset
()
engine/src/memory/allocator.js:1506
Method
reset
()
engine/src/acceleration/aabb_raycast.js:64
Method
reset
()
engine/src/ml/ops/op_store.js:943
Method
reset
()
engine/src/ml/ops/op_types.js:80
Method
reset_all
* Resets all layers in the system
engine/src/ml/layer.js:961
Method
reset_model
(parent = null)
engine/src/ml/ops/op_store.js:814
Method
reshape
(a, shape)
engine/src/ml/ops/ops.js:91
Method
reshape
(a, shape)
engine/src/ml/ops/op_store.js:196
← previous
next →
1,201–1,300 of 1,448, ranked by callers