Skip to content
Flecs v4.1
impl.hpp
Go to the documentation of this file.
1/**
2 * @file addons/cpp/mixins/entity_ranges/impl.hpp
3 * @brief Entity ranges implementation.
4 */
5
6#pragma once
7
8namespace flecs {
9
11 uint32_t min,
12 uint32_t max) const
13{
14 return ecs_entity_range_new(world_, min, max);
15}
16
17inline void world::range_set(const ecs_entity_range_t *range) const {
19}
20
21inline const ecs_entity_range_t* world::range_get() const {
23}
24
25}
FLECS_API void ecs_entity_range_set(ecs_world_t *world, const ecs_entity_range_t *range)
Set the active entity range.
FLECS_API const ecs_entity_range_t * ecs_entity_range_new(ecs_world_t *world, uint32_t min, uint32_t max)
Create a new entity range.
FLECS_API const ecs_entity_range_t * ecs_entity_range_get(const ecs_world_t *world)
Get the currently active entity id range.
void range_set(const ecs_entity_range_t *range) const
Set the active entity id range.
Definition impl.hpp:17
const ecs_entity_range_t * range_get() const
Get the currently active entity id range.
Definition impl.hpp:21
const ecs_entity_range_t * range_new(uint32_t min, uint32_t max) const
Create a new entity id range.
Definition impl.hpp:10
Type that stores an entity id range.
world_t * world_
Pointer to the underlying C world.
Definition world.hpp:1009