#pragma once #include "LuaVM.h" #include "SDL2/include/SDL.h" #include class Texture { public: std::shared_ptr rnd; std::shared_ptr text; int w; int h; Texture(const std::shared_ptr& exrnd, SDL_Texture* t); static int close(lua_State* L); static int create(lua_State* L, const std::shared_ptr& rnd, SDL_Texture* t); };