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

Functions

u32 find (const std::vector< nngn::Hash > &v, std::string_view name)
 
u32 find_empty (const std::vector< u32 > &v)
 
bool check_max (std::size_t n, u32 i)
 
bool write_png (const char *filename, std::span< const std::byte > s)
 

Variables

constexpr auto SIZE = nngn::Graphics::TEXTURE_SIZE
 
constexpr auto EXTENT = nngn::Graphics::TEXTURE_EXTENT
 

Function Documentation

◆ check_max()

bool anonymous_namespace{texture.cpp}::check_max ( std::size_t n,
u32 i )
Here is the call graph for this function:

◆ find()

u32 anonymous_namespace{texture.cpp}::find ( const std::vector< nngn::Hash > & v,
std::string_view name )
Here is the call graph for this function:

◆ find_empty()

u32 anonymous_namespace{texture.cpp}::find_empty ( const std::vector< u32 > & v)

◆ write_png()

bool anonymous_namespace{texture.cpp}::write_png ( const char * filename,
std::span< const std::byte > s )
Here is the call graph for this function:

Variable Documentation

◆ EXTENT

auto anonymous_namespace{texture.cpp}::EXTENT = nngn::Graphics::TEXTURE_EXTENT
constexpr

◆ SIZE

auto anonymous_namespace{texture.cpp}::SIZE = nngn::Graphics::TEXTURE_SIZE
constexpr