wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::scene::Scene Class Reference

#include <scene.hpp>

Inheritance diagram for wren::scene::Scene:
Collaboration diagram for wren::scene::Scene:

Public Member Functions

auto create_entity (const std::string &name="entity") -> Entity
auto world () const -> const flecs::world &
auto world () -> flecs::world &

Static Public Member Functions

static auto create ()

Private Member Functions

 Scene ()=default

Private Attributes

flecs::world ecs_

Constructor & Destructor Documentation

◆ Scene()

wren::scene::Scene::Scene ( )
privatedefault
Here is the caller graph for this function:

Member Function Documentation

◆ create()

auto wren::scene::Scene::create ( )
inlinestatic
Here is the call graph for this function:

◆ create_entity()

auto wren::scene::Scene::create_entity ( const std::string & name = "entity") -> Entity
Here is the call graph for this function:

◆ world() [1/2]

auto wren::scene::Scene::world ( ) -> flecs::world&
inline

◆ world() [2/2]

auto wren::scene::Scene::world ( ) const -> const flecs::world&
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ecs_

flecs::world wren::scene::Scene::ecs_
private

The documentation for this class was generated from the following files: