nngn
Loading...
Searching...
No Matches
anonymous_namespace{lua_graphics.cpp} Namespace Reference

Functions

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

Function Documentation

◆ create()

auto anonymous_namespace{lua_graphics.cpp}::create ( Graphics::Backend  b,
const void *  params 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ device_extensions()

auto anonymous_namespace{lua_graphics.cpp}::device_extensions ( const Graphics g,
lua_Integer  i,
nngn::lua::state_view  lua 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ device_infos()

auto anonymous_namespace{lua_graphics.cpp}::device_infos ( const Graphics g,
nngn::lua::state_view  lua 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ extensions()

auto anonymous_namespace{lua_graphics.cpp}::extensions ( const Graphics g,
nngn::lua::state_view  lua 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get()

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 
)
Here is the call graph for this function:

◆ heaps()

auto anonymous_namespace{lua_graphics.cpp}::heaps ( const Graphics g,
lua_Integer  i,
nngn::lua::state_view  lua 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_device()

bool anonymous_namespace{lua_graphics.cpp}::init_device ( Graphics g,
std::optional< lua_Integer >  i 
)
Here is the caller graph for this function:

◆ layers()

auto anonymous_namespace{lua_graphics.cpp}::layers ( const Graphics g,
nngn::lua::state_view  lua 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ memory_types()

auto anonymous_namespace{lua_graphics.cpp}::memory_types ( const Graphics g,
lua_Integer  i,
lua_Integer  ih,
nngn::lua::state_view  lua 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mouse_pos()

auto anonymous_namespace{lua_graphics.cpp}::mouse_pos ( const Graphics g)
Here is the caller graph for this function:

◆ opengl_params()

std::optional< Graphics::OpenGLParameters > anonymous_namespace{lua_graphics.cpp}::opengl_params ( nngn::lua::table_view  t)
Here is the call graph for this function:

◆ present_modes()

auto anonymous_namespace{lua_graphics.cpp}::present_modes ( const Graphics g,
nngn::lua::state_view  lua 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ queue_families()

auto anonymous_namespace{lua_graphics.cpp}::queue_families ( const Graphics g,
lua_Integer  i,
nngn::lua::state_view  lua 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ register_graphics()

void anonymous_namespace{lua_graphics.cpp}::register_graphics ( nngn::lua::table_view  t)
Here is the call graph for this function:

◆ selected_device()

auto anonymous_namespace{lua_graphics.cpp}::selected_device ( const Graphics g)
Here is the caller graph for this function:

◆ set_bloom_blur_passes()

void anonymous_namespace{lua_graphics.cpp}::set_bloom_blur_passes ( Graphics g,
lua_Integer  n 
)
Here is the caller graph for this function:

◆ set_bloom_downscale()

void anonymous_namespace{lua_graphics.cpp}::set_bloom_downscale ( Graphics g,
lua_Integer  n 
)
Here is the caller graph for this function:

◆ set_blur_downscale()

void anonymous_namespace{lua_graphics.cpp}::set_blur_downscale ( Graphics g,
lua_Integer  n 
)
Here is the caller graph for this function:

◆ set_blur_passes()

void anonymous_namespace{lua_graphics.cpp}::set_blur_passes ( Graphics g,
lua_Integer  n 
)
Here is the caller graph for this function:

◆ set_n_frames()

void anonymous_namespace{lua_graphics.cpp}::set_n_frames ( Graphics g,
lua_Integer  n 
)
Here is the caller graph for this function:

◆ set_n_swap_chain_images()

void anonymous_namespace{lua_graphics.cpp}::set_n_swap_chain_images ( Graphics g,
lua_Integer  n 
)
Here is the caller graph for this function:

◆ stats()

auto anonymous_namespace{lua_graphics.cpp}::stats ( Graphics g,
nngn::lua::state_view  lua 
)
Here is the call graph for this function:

◆ surface_info()

auto anonymous_namespace{lua_graphics.cpp}::surface_info ( const Graphics g,
nngn::lua::state_view  lua 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ terminal_params()

std::optional< Graphics::TerminalParameters > anonymous_namespace{lua_graphics.cpp}::terminal_params ( nngn::lua::table_view  t)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ to_lua() [1/7]

auto anonymous_namespace{lua_graphics.cpp}::to_lua ( nngn::lua::state_view  lua,
const Graphics::DeviceInfo &  i 
)
Here is the call graph for this function:

◆ to_lua() [2/7]

auto anonymous_namespace{lua_graphics.cpp}::to_lua ( nngn::lua::state_view  lua,
const Graphics::Extension &  e 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ to_lua() [3/7]

auto anonymous_namespace{lua_graphics.cpp}::to_lua ( nngn::lua::state_view  lua,
const Graphics::Layer &  l 
)
Here is the call graph for this function:

◆ to_lua() [4/7]

auto anonymous_namespace{lua_graphics.cpp}::to_lua ( nngn::lua::state_view  lua,
const Graphics::MemoryHeap &  h 
)
Here is the call graph for this function:

◆ to_lua() [5/7]

auto anonymous_namespace{lua_graphics.cpp}::to_lua ( nngn::lua::state_view  lua,
const Graphics::MemoryType &  h 
)
Here is the call graph for this function:

◆ to_lua() [6/7]

auto anonymous_namespace{lua_graphics.cpp}::to_lua ( nngn::lua::state_view  lua,
const Graphics::QueueFamily &  f 
)
Here is the call graph for this function:

◆ to_lua() [7/7]

auto anonymous_namespace{lua_graphics.cpp}::to_lua ( nngn::lua::state_view  ,
const Graphics::PresentMode &  m 
)
Here is the call graph for this function:

◆ version()

auto anonymous_namespace{lua_graphics.cpp}::version ( const Graphics g)
Here is the caller graph for this function:

◆ vulkan_params()

std::optional< Graphics::VulkanParameters > anonymous_namespace{lua_graphics.cpp}::vulkan_params ( nngn::lua::table_view  t)
Here is the call graph for this function:

◆ window_size()

auto anonymous_namespace{lua_graphics.cpp}::window_size ( const Graphics g)
Here is the caller graph for this function: