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 | |
std::array< vec4, 6 > | uv = {} |
vec3 | size = {} |
u32 | tex = 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::VoxelRenderer::load | ( | const nngn::lua::table & | t | ) |
vec3 nngn::VoxelRenderer::size = {} |
u32 nngn::VoxelRenderer::tex = 0 |
std::array<vec4, 6> nngn::VoxelRenderer::uv = {} |