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
export_to_json
()
engine/src/ml/ops/op_store.js:956
Method
export_to_onnx
()
engine/src/ml/ops/op_store.js:961
Method
extend
(a, add_dims = [], fill_value = 0)
engine/src/ml/ops/op_store.js:177
Method
extend
* Utility to extend a tensor. * @param {number[]} add_dims - the dimensions to add. * @param {number} fill_value - the value to fill the extende
engine/src/ml/math/tensor.js:240
Method
fade_function
(t)
example/app.js:1490
Method
fat_max_point
()
engine/src/acceleration/aabb.js:158
Method
fat_min_point
()
engine/src/acceleration/aabb.js:143
Method
fill
(a, value, offset = 0, size = null)
engine/src/ml/ops/op_store.js:161
Method
fill
* Utility to fill a tensor with a specific value. * * @param {number} value - the value to fill the tensor with. * @param {number} offset - t
engine/src/ml/math/tensor.js:230
Method
find_children
* Find the children of a node. * @param {*} data - The data of the node to find the children of. * @returns {Array|null} Array of child data val
engine/src/memory/container.js:379
Method
find_parent
* Find the parent of a node. * @param {*} data - The data of the node to find the parent of. * @returns {*|null} The parent data or null if not
engine/src/memory/container.js:366
Method
flags
()
engine/src/acceleration/aabb.js:80
Method
flush
()
engine/src/utility/execution_queue.js:34
Method
flush
* Get and clear the log buffer * @returns {Array<{message: string, timestamp: number}>}
engine/src/ml/logger.js:61
Method
flush_gpu_buffers
()
engine/src/core/scene_graph.js:47
Method
flush_gpu_buffers
* Flush all fragment SSBOs. * - Build a global row→dense_index table and repack *every* buffer tightly by that index.
engine/src/core/ecs/solar/memory.js:662
Method
forward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/softmax.js:4
Method
forward
* Forward pass for the InputLayer. * Dequeues samples, creates a batch, stores target batch in context, returns input batch.
engine/src/ml/layers/input.js:197
Method
forward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/fully_connected.js:23
Method
forward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/tanh.js:4
Method
forward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/cross_entropy_loss.js:9
Method
forward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/mse_loss.js:9
Method
forward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/binary_cross_entropy_loss.js:9
Method
forward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/relu.js:4
Method
forward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/sigmoid.js:4
Method
fractal_noise
(x, y)
example/app.js:1523
Method
free
(handle)
engine/src/renderer/bind_group.js:44
Method
free_count
* Get the number of free indices. * @returns {number} The number of free indices.
engine/src/memory/container.js:1127
Method
fused_mul_add
(a, b, c)
engine/src/ml/ops/ops.js:151
Method
fused_mul_add
(a, b, c)
engine/src/ml/ops/op_store.js:417
Method
get
(index = 0)
engine/src/renderer/renderer.js:276
Method
get
* Get the value at the specified index. * @param {number} index - The index to retrieve the value from. * @returns {bigint} The value at the spe
engine/src/memory/container.js:26
Method
get
* Get the bit value at the specified index. * @param {number} index - The index to retrieve the bit from. * @returns {boolean} The bit value at
engine/src/memory/container.js:107
Method
get
* Get the value at the specified index. * @param {number} index - The index to access. * @returns {number} The value at the index.
engine/src/memory/container.js:1108
Method
get
* Get the value at the specified index. * @param {number} index - The index to retrieve. * @returns {number} The value at the index. * @throw
engine/src/memory/container.js:1286
Method
get
* Returns the object at the specified index. * @param {number} index - The index of the object to return * @returns {object} The object at t
engine/src/memory/allocator.js:599
Method
get
* Gets an element at the specified index * @param {number} index - The index to get the element from * @returns {*} The element at the speci
engine/src/memory/allocator.js:723
Method
get
(id)
engine/src/core/ecs/solar/types.js:148
Method
get_active_collections
* Get all active collection IDs * @returns {Array} Array of active collection IDs
engine/src/renderer/line_renderer.js:124
Method
get_active_count
()
engine/src/ui/3d/element_pool.js:126
Function
get_all_entity_rows
(entity)
engine/src/core/ecs/entity_utils.js:162
Method
get_all_micro_models
* Gets all available root layers (micro-models) * * @returns {Array<number>} Array of IDs of all root layers
engine/src/ml/ops/op_store.js:939
Method
get_all_roots
* Gets all root layers in the system * * @returns {Array<number>} Array of root layer IDs
engine/src/ml/layer.js:587
Method
get_ancestors
* Get the ancestors of a node. * @param {number} node - The index of the node to get the ancestors of. * @returns {number[]} The indices of the
engine/src/memory/container.js:845
Method
get_array
(key)
engine/src/memory/allocator.js:955
Method
get_array
(key)
engine/src/memory/allocator.js:1329
Method
get_base_entity_id
* Retrieves the entity ID for a given row index. * @param {number} row - The row index * @returns {number} The entity ID
engine/src/core/ecs/solar/memory.js:205
Method
get_buffer_name
(field_name)
engine/src/core/ecs/fragments/static_mesh_fragment.js:57
Method
get_buffer_name
(field_name)
engine/src/core/ecs/fragments/text_fragment.js:229
Method
get_buffer_name
(field_name)
engine/src/core/ecs/fragments/user_interface_fragment.js:187
Method
get_buffer_name
(field_name)
engine/src/core/ecs/fragments/transform_fragment.js:132
Method
get_buffer_name
(field_name)
engine/src/core/ecs/fragments/light_fragment.js:196
Method
get_buffer_name
(field_name)
engine/src/core/ecs/fragments/visibility_fragment.js:41
Method
get_children
* Get the children TreeNodes of a node * @param {number} node_idx - The index of the node to get the children of * @returns {TreeNode[]} Array o
engine/src/memory/container.js:527
Method
get_children
* Get the children of a node. * @param {number} node - The index of the node to get the children of. * @returns {number[]} The indices of the ch
engine/src/memory/container.js:821
Method
get_children
* Gets the children of a layer * * @param {number} id - The ID of the layer * @returns {Array<number>} Array of child layer IDs
engine/src/ml/layer.js:608
Method
get_chunk_and_slot
* Retrieves the chunk and slot for a given entity ID. * @param {number} id - The entity ID * @returns {Object} The chunk and slot
engine/src/core/ecs/entity.js:109
Method
get_column
* Returns the entire j-th column as a new TypedArray. * @param {number} j - Column index. * @returns {TypedArray} A TypedArray containing all el
engine/src/memory/container.js:1748
Method
get_command_handler
* Get a command handler by its command name. * @param {string} command - The command name. * @returns {Function} The command handler.
engine/src/tools/dev_console.js:318
Method
get_current_state
* Gets the current state * @returns {string} - The current state name
engine/src/utility/state_machine.js:135
Method
get_data
* Get the data of the vector. * @returns {TypedArray} The data.
engine/src/memory/container.js:1387
Method
get_element
(element_id)
engine/src/ui/3d/element_pool.js:115
Method
get_entity_bounds
* Get the AABB bounds for an entity * @param {bigint} entity - The entity to get bounds for * @returns {Object|null} - The entity's bounds or nu
engine/src/core/subsystems/aabb_entity_adapter.js:109
Method
get_entity_dirty
* Get the dirty flag for an entity. * @param {EntityHandle} entity - The entity to get the dirty flag for. * @returns {number} The dirty flag va
engine/src/core/ecs/entity.js:297
Method
get_entity_for
* Retrieves the entity ID for a given chunk and slot. * @param {Chunk} chunk - The chunk containing the entity. * @param {number} slot - The slo
engine/src/core/ecs/entity.js:91
Method
get_entity_from_id
* Retrieves the entity handle for a given entity ID. * @param {number} id - The entity ID * @returns {EntityHandle} The entity handle
engine/src/core/ecs/entity.js:100
Method
get_entity_image_buffer
* Creates an image buffer for storing entity images. * @returns {import('./buffer.js').Buffer} The created image buffer.
engine/src/core/ecs/entity.js:406
Method
get_entity_node_index
* Get the AABB node index for an entity * @param {bigint} entity - The entity to get the node for * @returns {number|undefined} - The node index
engine/src/core/subsystems/aabb_entity_adapter.js:97
Function
get_entity_parent
(entity)
engine/src/core/ecs/entity_utils.js:109
Method
get_fragment
* Retrieves a fragment for an entity. * @param {number} entity - The entity to get the fragment for. * @param {typeof import('./fragment.js').Fr
engine/src/core/ecs/entity.js:190
Method
get_frame_number
()
engine/src/renderer/renderer.js:217
Function
get_graph_resource_version
* Retrieves the version from a graph resource handle. * @param {number} handle - The handle of the graph resource. * @returns {number} The version o
engine/src/renderer/render_graph.js:129
Method
get_max_allocated_row
* Retrieves the maximum allocated row for the entity manager. * @returns {number} The maximum allocated row.
engine/src/core/ecs/entity.js:320
Method
get_max_rows
* Retrieves the maximum number of rows allocated for the entity manager. * @returns {number} The maximum number of rows.
engine/src/core/ecs/entity.js:232
Function
get_measure_context
()
engine/src/ui/2d/immediate.js:167
Method
get_new
(slot)
engine/src/renderer/bind_group.js:29
Method
get_node_aabb
* Get the AABB for a node * @param {number} node_index - The index of the node * @returns {Object|null} - The node's AABB or null if not fou
engine/src/acceleration/aabb_raycast.js:410
Method
get_node_data
* Get the data for a node. * @param {number} node - The index of the node to get the data for. * @returns {Object} The data for the node.
engine/src/memory/container.js:743
Method
get_parent
* Get the parent TreeNode of a node * @param {number} node_idx - The index of the node to get the parent of * @returns {TreeNode|null} The paren
engine/src/memory/container.js:516
Method
get_parent
* Get the parent of a node. * @param {number} node - The index of the node to get the parent of. * @returns {number} The index of the parent nod
engine/src/memory/container.js:836
Method
get_parents
* Gets the parents of a layer * * @param {number} id - The ID of the layer * @returns {Array<number>} Array of parent layer IDs
engine/src/ml/layer.js:597
Method
get_pool_size
()
engine/src/ui/3d/element_pool.js:130
Method
get_row
* Returns the entire i-th row as a new TypedArray. * @param {number} i - Row index. * @returns {TypedArray} A TypedArray containing all elements
engine/src/memory/container.js:1732
Method
get_row_field
* Extract the 28-bit row field (chunk_index+local_slot) from a full entity ID.
engine/src/core/ecs/solar/types.js:44
Method
get_row_index
(entity)
engine/src/core/ecs/solar/types.js:22
Method
get_runtime_store
()
engine/src/ml/ops/ops.js:46
Method
get_siblings
* Get the siblings of a node. * @param {number} node - The index of the node to get the siblings of. * @returns {number[]} The indices of the si
engine/src/memory/container.js:860
Method
get_state_hash
()
engine/src/renderer/material.js:466
Method
get_stats
* Get statistics about the AABB tree * @returns {Object} - Tree statistics
engine/src/core/subsystems/aabb_entity_adapter.js:134
Method
get_subnet
* Returns a model by its ID. * @param {string} model_id - The ID of the model to retrieve. * @returns {Object} The model object.
engine/src/ml/mastermind.js:127
Method
get_subnet_and_shared_layers
(root_id)
engine/src/ml/layer.js:558
Method
get_subnet_shared_roots
(root_id)
engine/src/ml/layer.js:525
Function
get_unique_id
()
engine/src/ui/2d/immediate.js:151
Method
get_view
(index)
engine/src/memory/allocator.js:946
Method
get_view
(index)
engine/src/memory/allocator.js:1193
Method
get_view
(index)
engine/src/memory/allocator.js:1322
Method
get_view
(index)
engine/src/memory/allocator.js:1522
Method
get_view_index
()
engine/src/core/shared_data.js:343
Method
get_world_position
(entity, instance = 0)
engine/src/core/ecs/fragments/transform_fragment.js:136
Method
get_world_rotation
(entity, instance = 0)
engine/src/core/ecs/fragments/transform_fragment.js:145
← previous
next →
1,001–1,100 of 1,448, ranked by callers