summaryrefslogtreecommitdiff
path: root/Runtime/Scripting/Rendering/Rendering.bind.cpp
blob: 29fa4219227c49731c36e834aaeb76995e977093 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "Runtime/Graphics/Shader.h"

int luaopen_GameLab_Engine_Rendering(lua_State* L)
{
	log_info("Scripting", "luaopen_GameLab_Engine_Rendering()");

	LUA_BIND_STATE(L);

	state.PushGlobalNamespace();
	state.PushNamespace("GameLab");
	state.PushNamespace("Engine");
	state.PushNamespace("Rendering");

	state.RegisterNativeClass<Shader>();

	return 1;
}