30 lines
787 B
C
30 lines
787 B
C
#pragma once
|
|
|
|
/// \file blueprint_scope.h
|
|
/// \author Folling <folling@ikarus.world>
|
|
|
|
#include <ikarus/id.h>
|
|
#include <ikarus/macros.h>
|
|
|
|
/// \addtogroup object_scopes ObjectScopes
|
|
/// @{
|
|
|
|
IKARUS_BEGIN_HEADER
|
|
|
|
/// \brief The global scope of all blueprints.
|
|
struct IkarusBlueprintScope;
|
|
|
|
/// \brief Creates a blueprint scope.
|
|
/// \return The created blueprint scope.
|
|
/// \remark Must be freed with #ikarus_free.
|
|
IKA_API IkarusBlueprintScope * ikarus_blueprint_scope_create();
|
|
|
|
/// \brief Converts a blueprint scope to an object scope.
|
|
/// \param scope The scope to convert.
|
|
/// \return The converted scope.
|
|
/// \remark Must be freed with #ikarus_free.
|
|
IKA_API struct IkarusObjectScope * ikarus_blueprint_scope_to_object_scope(IkarusBlueprintScope const * scope);
|
|
|
|
IKARUS_END_HEADER
|
|
|
|
// @}
|