|
|
@@ -23,6 +23,10 @@
|
|
|
#pragma once
|
|
|
|
|
|
#include "../Core/Context.h"
|
|
|
+#ifdef _WIN32
|
|
|
+#include "../Graphics/IndexBuffer.h"
|
|
|
+#include "../Graphics/VertexBuffer.h"
|
|
|
+#endif
|
|
|
|
|
|
struct lua_State;
|
|
|
|
|
|
@@ -183,6 +187,9 @@ template <> int ToluaPushVector<String>(lua_State* L, void* data, const char* ty
|
|
|
template <> int ToluaIsPODVector<bool>(double /*overload*/, lua_State* L, int lo, const char* type, int def, tolua_Error* err);
|
|
|
template <> void* ToluaToPODVector<bool>(double /*overload*/, lua_State* L, int narg, void* def);
|
|
|
template <> int ToluaPushPODVector<bool>(double /*overload*/, lua_State* L, void* data, const char* type);
|
|
|
+
|
|
|
+template <> void* ToluaToVector<SharedPtr<IndexBuffer> >(lua_State* L, int narg, void* def);
|
|
|
+template <> void* ToluaToVector<SharedPtr<VertexBuffer> >(lua_State* L, int narg, void* def);
|
|
|
#endif
|
|
|
|
|
|
/// Convert object at the given index and store it in Variant. This function is not thread-safe.
|