Polyphase Game Engine
Loading...
Searching...
No Matches
InstancedMesh3d_Lua.h
Go to the documentation of this file.
1#pragma once
2#pragma once
3
4#include "EngineTypes.h"
5#include "Log.h"
6#include "Engine.h"
7
9
12
13#if LUA_ENABLED
14
15#define INSTANCED_MESH_3D_LUA_NAME "InstancedMesh3D"
16#define INSTANCED_MESH_3D_LUA_FLAG "cfInstancedMesh3D"
17#define CHECK_INSTANCED_MESH_3D(L, arg) static_cast<InstancedMesh3D*>(CheckNodeLuaType(L, arg, INSTANCED_MESH_3D_LUA_NAME, INSTANCED_MESH_3D_LUA_FLAG));
18
19struct InstancedMesh3D_Lua
20{
21 static int GetNumInstances(lua_State* L);
22 static int GetInstanceData(lua_State* L);
23 static int SetInstanceData(lua_State* L);
24 static int AddInstanceData(lua_State* L);
25 static int RemoveInstanceData(lua_State* L);
26
27 static void Bind();
28};
29
30#endif