nngn
Loading...
Searching...
No Matches
lua_graphics.cpp File Reference
#include "lua/function.h"
#include "lua/iter.h"
#include "lua/register.h"
#include "lua/table.h"
#include "utils/log.h"
#include "utils/utils.h"
#include "graphics.h"
Include dependency graph for lua_graphics.cpp:

Namespaces

namespace  anonymous_namespace{lua_graphics.cpp}
 

Functions

std::optional< Graphics::TerminalParameters > anonymous_namespace{lua_graphics.cpp}::terminal_params (nngn::lua::table_view t)
 
std::optional< Graphics::OpenGLParameters > anonymous_namespace{lua_graphics.cpp}::opengl_params (nngn::lua::table_view t)
 
std::optional< Graphics::VulkanParameters > anonymous_namespace{lua_graphics.cpp}::vulkan_params (nngn::lua::table_view t)
 
auto anonymous_namespace{lua_graphics.cpp}::version (const Graphics &g)
 
auto anonymous_namespace{lua_graphics.cpp}::create (Graphics::Backend b, const void *params)
 
bool anonymous_namespace{lua_graphics.cpp}::init_device (Graphics &g, std::optional< lua_Integer > i)
 
auto anonymous_namespace{lua_graphics.cpp}::selected_device (const Graphics &g)
 
auto anonymous_namespace{lua_graphics.cpp}::to_lua (nngn::lua::state_view lua, const Graphics::Extension &e)
 
auto anonymous_namespace{lua_graphics.cpp}::to_lua (nngn::lua::state_view lua, const Graphics::Layer &l)
 
auto anonymous_namespace{lua_graphics.cpp}::to_lua (nngn::lua::state_view lua, const Graphics::DeviceInfo &i)
 
auto anonymous_namespace{lua_graphics.cpp}::to_lua (nngn::lua::state_view lua, const Graphics::QueueFamily &f)
 
auto anonymous_namespace{lua_graphics.cpp}::to_lua (nngn::lua::state_view, const Graphics::PresentMode &m)
 
auto anonymous_namespace{lua_graphics.cpp}::to_lua (nngn::lua::state_view lua, const Graphics::MemoryHeap &h)
 
auto anonymous_namespace{lua_graphics.cpp}::to_lua (nngn::lua::state_view lua, const Graphics::MemoryType &h)
 
auto anonymous_namespace{lua_graphics.cpp}::surface_info (const Graphics &g, nngn::lua::state_view lua)
 
template<typename T , auto count_f, auto get_f, typename ... Is>
auto anonymous_namespace{lua_graphics.cpp}::get (nngn::lua::state_view lua, const Graphics &g, Is ...is)
 
auto anonymous_namespace{lua_graphics.cpp}::extensions (const Graphics &g, nngn::lua::state_view lua)
 
auto anonymous_namespace{lua_graphics.cpp}::layers (const Graphics &g, nngn::lua::state_view lua)
 
auto anonymous_namespace{lua_graphics.cpp}::device_infos (const Graphics &g, nngn::lua::state_view lua)
 
auto anonymous_namespace{lua_graphics.cpp}::device_extensions (const Graphics &g, lua_Integer i, nngn::lua::state_view lua)
 
auto anonymous_namespace{lua_graphics.cpp}::queue_families (const Graphics &g, lua_Integer i, nngn::lua::state_view lua)
 
auto anonymous_namespace{lua_graphics.cpp}::present_modes (const Graphics &g, nngn::lua::state_view lua)
 
auto anonymous_namespace{lua_graphics.cpp}::heaps (const Graphics &g, lua_Integer i, nngn::lua::state_view lua)
 
auto anonymous_namespace{lua_graphics.cpp}::memory_types (const Graphics &g, lua_Integer i, lua_Integer ih, nngn::lua::state_view lua)
 
auto anonymous_namespace{lua_graphics.cpp}::window_size (const Graphics &g)
 
auto anonymous_namespace{lua_graphics.cpp}::stats (Graphics *g, nngn::lua::state_view lua)
 
auto anonymous_namespace{lua_graphics.cpp}::mouse_pos (const Graphics &g)
 
void anonymous_namespace{lua_graphics.cpp}::set_n_frames (Graphics &g, lua_Integer n)
 
void anonymous_namespace{lua_graphics.cpp}::set_n_swap_chain_images (Graphics &g, lua_Integer n)
 
void anonymous_namespace{lua_graphics.cpp}::set_bloom_downscale (Graphics &g, lua_Integer n)
 
void anonymous_namespace{lua_graphics.cpp}::set_bloom_blur_passes (Graphics &g, lua_Integer n)
 
void anonymous_namespace{lua_graphics.cpp}::set_blur_downscale (Graphics &g, lua_Integer n)
 
void anonymous_namespace{lua_graphics.cpp}::set_blur_passes (Graphics &g, lua_Integer n)
 
void anonymous_namespace{lua_graphics.cpp}::register_graphics (nngn::lua::table_view t)