pub unsafe fn component_add_batch_impl(
context_id: GoudContextId,
entity_ids: *const u64,
count: u32,
type_id_hash: u64,
data_ptr: *const u8,
component_size: usize,
) -> u32Expand description
Adds the same component type to multiple entities in a batch.
§Safety
entity_idsmust point to valid memory withcountu64 valuesdata_ptrmust point tocount * component_sizebytes of datacomponent_sizemust match the registered component type size