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

Functions

bool set_max_sprites (std::size_t n, std::vector< nngn::SpriteRenderer > *v, nngn::Graphics *g, u32 vbo, u32 ebo, u32 debug_vbo, u32 debug_ebo)
 
template<std::size_t per_obj>
void update_quad_indices (void *, void *p, u64 i, u64 n)
 
template<std::size_t per_obj>
void update_quad_indices_base (const std::tuple< u64 > *bi, u32 *p, u64 i, u64 n)
 
template void update_quad_indices_base< 36 > (const std::tuple< u64 > *, u32 *, u64, u64)
 
template<auto gen, typename VT , typename T >
bool write_to_buffer (nngn::Graphics *g, u32 b, u64 off, u64 n, u64 size, T *data)
 
template<auto vgen, auto egen, typename T >
bool update_span (nngn::Graphics *g, std::span< T > s, u32 vbo, u32 ebo, std::size_t n_verts, std::size_t n_indcs)
 
template<auto vgen, auto egen, typename T , typename ... Args>
bool update_span_with_state (nngn::Graphics *g, u32 vbo, u32 ebo, std::size_t n_verts, std::size_t n_indcs, std::span< T > s, Args &&...args)
 
template<auto vgen, auto egen, typename T >
bool update_with_state (nngn::Graphics *g, u32 vbo, u32 ebo, u64 voff, u64 eoff, u64 vn, u64 vsize, u64 en, u64 esize, T *data)
 

Function Documentation

◆ set_max_sprites()

bool anonymous_namespace{render.cpp}::set_max_sprites ( std::size_t n,
std::vector< nngn::SpriteRenderer > * v,
nngn::Graphics * g,
u32 vbo,
u32 ebo,
u32 debug_vbo,
u32 debug_ebo )

◆ update_quad_indices()

template<std::size_t per_obj>
void anonymous_namespace{render.cpp}::update_quad_indices ( void * ,
void * p,
u64 i,
u64 n )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_quad_indices_base()

template<std::size_t per_obj>
void anonymous_namespace{render.cpp}::update_quad_indices_base ( const std::tuple< u64 > * bi,
u32 * p,
u64 i,
u64 n )
Here is the call graph for this function:

◆ update_quad_indices_base< 36 >()

template void anonymous_namespace{render.cpp}::update_quad_indices_base< 36 > ( const std::tuple< u64 > * ,
u32 * ,
u64 ,
u64  )

◆ update_span()

template<auto vgen, auto egen, typename T >
bool anonymous_namespace{render.cpp}::update_span ( nngn::Graphics * g,
std::span< T > s,
u32 vbo,
u32 ebo,
std::size_t n_verts,
std::size_t n_indcs )
Here is the caller graph for this function:

◆ update_span_with_state()

template<auto vgen, auto egen, typename T , typename ... Args>
bool anonymous_namespace{render.cpp}::update_span_with_state ( nngn::Graphics * g,
u32 vbo,
u32 ebo,
std::size_t n_verts,
std::size_t n_indcs,
std::span< T > s,
Args &&... args )

◆ update_with_state()

template<auto vgen, auto egen, typename T >
bool anonymous_namespace{render.cpp}::update_with_state ( nngn::Graphics * g,
u32 vbo,
u32 ebo,
u64 voff,
u64 eoff,
u64 vn,
u64 vsize,
u64 en,
u64 esize,
T * data )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_to_buffer()

template<auto gen, typename VT , typename T >
bool anonymous_namespace{render.cpp}::write_to_buffer ( nngn::Graphics * g,
u32 b,
u64 off,
u64 n,
u64 size,
T * data )
Here is the call graph for this function:
Here is the caller graph for this function: