Polyphase Game Engine
Loading...
Searching...
No Matches
Quad_Lua.h
Go to the documentation of this file.
1#pragma once
2
3#include "EngineTypes.h"
4#include "Log.h"
5
7
9
10#if LUA_ENABLED
11
12#define QUAD_LUA_NAME "Quad"
13#define QUAD_LUA_FLAG "cfQuad"
14#define CHECK_QUAD(L, arg) (Quad*)CheckNodeLuaType(L, arg, QUAD_LUA_NAME, QUAD_LUA_FLAG);
15
16struct Quad_Lua
17{
18 static int SetTexture(lua_State* L);
19 static int GetTexture(lua_State* L);
20 static int SetVertexColors(lua_State* L);
21 static int SetUvScale(lua_State* L);
22 static int GetUvScale(lua_State* L);
23 static int SetUvOffset(lua_State* L);
24 static int GetUvOffset(lua_State* L);
25
26 static void Bind();
27};
28
29#endif