nngn
|
#include <renderers.h>
Public Types | |
enum | Type : u8 { SPRITE = 1 , SCREEN_SPRITE , TRANSLUCENT , CUBE , VOXEL , N_TYPES } |
enum | Flag : u8 { UPDATED = 1u << 0 } |
Public Member Functions | |
bool | updated () const |
void | set_pos (vec3 p) |
Public Attributes | |
Entity * | entity = nullptr |
vec3 | pos = {} |
float | z_off = 0 |
Flags< Flag > | flags = {} |
enum nngn::Renderer::Flag : u8 |
enum nngn::Renderer::Type : u8 |
|
inline |
|
inline |
Entity* nngn::Renderer::entity = nullptr |
vec3 nngn::Renderer::pos = {} |
float nngn::Renderer::z_off = 0 |