nngn
Loading...
Searching...
No Matches
lua_texture.cpp File Reference
#include "lua/function.h"
#include "lua/register.h"
#include "lua/table.h"
#include "const.h"
#include "math/lua_vector.h"
#include "texture.h"
Include dependency graph for lua_texture.cpp:

Namespaces

namespace  anonymous_namespace{lua_texture.cpp}
 

Typedefs

using bvec = nngn::lua_vector<std::byte>
 

Functions

bool anonymous_namespace{lua_texture.cpp}::write_ (const char *filename, const bvec &v, Textures::Format fmt)
 
void anonymous_namespace{lua_texture.cpp}::red_to_rgba (bvec *dst, const bvec &src)
 
auto anonymous_namespace{lua_texture.cpp}::generation (const Textures &t)
 
auto anonymous_namespace{lua_texture.cpp}::load_data (Textures &t, const char *name, const bvec *p)
 
auto anonymous_namespace{lua_texture.cpp}::update_data (Textures &t, lua_Integer id, const bvec &p)
 
auto anonymous_namespace{lua_texture.cpp}::dump (const Textures &t, nngn::lua::state_view lua)
 
void anonymous_namespace{lua_texture.cpp}::register_textures (nngn::lua::table_view t)
 

Typedef Documentation

◆ bvec

using bvec = nngn::lua_vector<std::byte>