nngn
|
#include <renderers.h>
Public Member Functions | |
void | load (const nngn::lua::table &t) |
Public Member Functions inherited from nngn::Renderer | |
bool | updated () const |
void | set_pos (vec3 p) |
Public Attributes | |
vec3 | color = {1, 1, 1} |
float | size = 0 |
Public Attributes inherited from nngn::Renderer | |
Entity * | entity = nullptr |
vec3 | pos = {} |
float | z_off = 0 |
Flags< Flag > | flags = {} |
Additional Inherited Members | |
Public Types inherited from nngn::Renderer | |
enum | Type : u8 { SPRITE = 1 , SCREEN_SPRITE , TRANSLUCENT , CUBE , VOXEL , N_TYPES } |
enum | Flag : u8 { UPDATED = 1u << 0 } |
void nngn::CubeRenderer::load | ( | const nngn::lua::table & | t | ) |
vec3 nngn::CubeRenderer::color = {1, 1, 1} |
float nngn::CubeRenderer::size = 0 |