MCPcopy Create free account

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

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

Methodexport_to_json
()
engine/src/ml/ops/op_store.js:956
Methodexport_to_onnx
()
engine/src/ml/ops/op_store.js:961
Methodextend
(a, add_dims = [], fill_value = 0)
engine/src/ml/ops/op_store.js:177
Methodextend
* 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
Methodfade_function
(t)
example/app.js:1490
Methodfat_max_point
()
engine/src/acceleration/aabb.js:158
Methodfat_min_point
()
engine/src/acceleration/aabb.js:143
Methodfill
(a, value, offset = 0, size = null)
engine/src/ml/ops/op_store.js:161
Methodfill
* 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
Methodfind_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
Methodfind_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
Methodflags
()
engine/src/acceleration/aabb.js:80
Methodflush
()
engine/src/utility/execution_queue.js:34
Methodflush
* Get and clear the log buffer * @returns {Array<{message: string, timestamp: number}>}
engine/src/ml/logger.js:61
Methodflush_gpu_buffers
()
engine/src/core/scene_graph.js:47
Methodflush_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
Methodforward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/softmax.js:4
Methodforward
* 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
Methodforward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/fully_connected.js:23
Methodforward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/tanh.js:4
Methodforward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/cross_entropy_loss.js:9
Methodforward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/mse_loss.js:9
Methodforward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/binary_cross_entropy_loss.js:9
Methodforward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/relu.js:4
Methodforward
(layer, input_tensor, target_tensor = null)
engine/src/ml/layers/sigmoid.js:4
Methodfractal_noise
(x, y)
example/app.js:1523
Methodfree
(handle)
engine/src/renderer/bind_group.js:44
Methodfree_count
* Get the number of free indices. * @returns {number} The number of free indices.
engine/src/memory/container.js:1127
Methodfused_mul_add
(a, b, c)
engine/src/ml/ops/ops.js:151
Methodfused_mul_add
(a, b, c)
engine/src/ml/ops/op_store.js:417
Methodget
(index = 0)
engine/src/renderer/renderer.js:276
Methodget
* 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
Methodget
* 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
Methodget
* 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
Methodget
* 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
Methodget
* 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
Methodget
* 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
Methodget
(id)
engine/src/core/ecs/solar/types.js:148
Methodget_active_collections
* Get all active collection IDs * @returns {Array} Array of active collection IDs
engine/src/renderer/line_renderer.js:124
Methodget_active_count
()
engine/src/ui/3d/element_pool.js:126
Functionget_all_entity_rows
(entity)
engine/src/core/ecs/entity_utils.js:162
Methodget_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
Methodget_all_roots
* Gets all root layers in the system * * @returns {Array<number>} Array of root layer IDs
engine/src/ml/layer.js:587
Methodget_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
Methodget_array
(key)
engine/src/memory/allocator.js:955
Methodget_array
(key)
engine/src/memory/allocator.js:1329
Methodget_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
Methodget_buffer_name
(field_name)
engine/src/core/ecs/fragments/static_mesh_fragment.js:57
Methodget_buffer_name
(field_name)
engine/src/core/ecs/fragments/text_fragment.js:229
Methodget_buffer_name
(field_name)
engine/src/core/ecs/fragments/user_interface_fragment.js:187
Methodget_buffer_name
(field_name)
engine/src/core/ecs/fragments/transform_fragment.js:132
Methodget_buffer_name
(field_name)
engine/src/core/ecs/fragments/light_fragment.js:196
Methodget_buffer_name
(field_name)
engine/src/core/ecs/fragments/visibility_fragment.js:41
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_current_state
* Gets the current state * @returns {string} - The current state name
engine/src/utility/state_machine.js:135
Methodget_data
* Get the data of the vector. * @returns {TypedArray} The data.
engine/src/memory/container.js:1387
Methodget_element
(element_id)
engine/src/ui/3d/element_pool.js:115
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Functionget_entity_parent
(entity)
engine/src/core/ecs/entity_utils.js:109
Methodget_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
Methodget_frame_number
()
engine/src/renderer/renderer.js:217
Functionget_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
Methodget_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
Methodget_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
Functionget_measure_context
()
engine/src/ui/2d/immediate.js:167
Methodget_new
(slot)
engine/src/renderer/bind_group.js:29
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_pool_size
()
engine/src/ui/3d/element_pool.js:130
Methodget_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
Methodget_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
Methodget_row_index
(entity)
engine/src/core/ecs/solar/types.js:22
Methodget_runtime_store
()
engine/src/ml/ops/ops.js:46
Methodget_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
Methodget_state_hash
()
engine/src/renderer/material.js:466
Methodget_stats
* Get statistics about the AABB tree * @returns {Object} - Tree statistics
engine/src/core/subsystems/aabb_entity_adapter.js:134
Methodget_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
Methodget_subnet_and_shared_layers
(root_id)
engine/src/ml/layer.js:558
Methodget_subnet_shared_roots
(root_id)
engine/src/ml/layer.js:525
Functionget_unique_id
()
engine/src/ui/2d/immediate.js:151
Methodget_view
(index)
engine/src/memory/allocator.js:946
Methodget_view
(index)
engine/src/memory/allocator.js:1193
Methodget_view
(index)
engine/src/memory/allocator.js:1322
Methodget_view
(index)
engine/src/memory/allocator.js:1522
Methodget_view_index
()
engine/src/core/shared_data.js:343
Methodget_world_position
(entity, instance = 0)
engine/src/core/ecs/fragments/transform_fragment.js:136
Methodget_world_rotation
(entity, instance = 0)
engine/src/core/ecs/fragments/transform_fragment.js:145
← previousnext →1,001–1,100 of 1,448, ranked by callers