some experimentation
This commit is contained in:
parent
9773103a18
commit
665a9a4078
8 changed files with 135 additions and 79 deletions
|
@ -4,6 +4,9 @@
|
|||
#include "pw/system/input.hpp"
|
||||
#include "pw/system/display.hpp"
|
||||
|
||||
// hijacking
|
||||
#include "pw/visual/pipeline.hpp"
|
||||
|
||||
namespace pw {
|
||||
|
||||
void script_system::load(sol::table &ns)
|
||||
|
@ -29,6 +32,10 @@ void script_system::load(sol::table &ns)
|
|||
"all",&display::all,
|
||||
"name",sol::readonly_property(&display::name)
|
||||
);
|
||||
|
||||
ns.new_usertype<pipeline>("pipeline",
|
||||
"create",&pipeline::create
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
0
src/scripting/src/script_visual.cpp
Normal file
0
src/scripting/src/script_visual.cpp
Normal file
Loading…
Add table
Add a link
Reference in a new issue