nngn
|
#include <graphics.h>
Public Types | |
enum | Flag : u32 { SHADOWS_ENABLED = NNGN_SHADOWS_ENABLED_BIT } |
Public Attributes | ||
u32 | flags = 0 | |
float | depth_transform0 = {} | |
float | depth_transform1 = {} | |
vec3 | view_pos = {} | |
u32 | n_dir = 0 | |
vec3 | ambient = {1, 1, 1} | |
u32 | n_point = 0 | |
struct { | ||
std::array< vec4, NNGN_MAX_LIGHTS > dir = {} | ||
std::array< vec4, NNGN_MAX_LIGHTS > color_spec = {} | ||
std::array< mat4, NNGN_MAX_LIGHTS > mat = {} | ||
} | dir | |
struct { | ||
std::array< vec4, NNGN_MAX_LIGHTS > dir = {} | ||
std::array< vec4, NNGN_MAX_LIGHTS > color_spec = {} | ||
std::array< vec4, NNGN_MAX_LIGHTS > pos = {} | ||
std::array< vec4, NNGN_MAX_LIGHTS > att_cutoff = {} | ||
} | point | |
enum nngn::LightsUBO::Flag : u32 |
vec3 nngn::LightsUBO::ambient = {1, 1, 1} |
std::array<vec4, NNGN_MAX_LIGHTS> nngn::LightsUBO::att_cutoff = {} |
std::array<vec4, NNGN_MAX_LIGHTS> nngn::LightsUBO::color_spec = {} |
float nngn::LightsUBO::depth_transform0 = {} |
float nngn::LightsUBO::depth_transform1 = {} |
std::array<vec4, NNGN_MAX_LIGHTS> nngn::LightsUBO::dir = {} |
struct { ... } nngn::LightsUBO::dir |
u32 nngn::LightsUBO::flags = 0 |
std::array<mat4, NNGN_MAX_LIGHTS> nngn::LightsUBO::mat = {} |
u32 nngn::LightsUBO::n_dir = 0 |
u32 nngn::LightsUBO::n_point = 0 |
struct { ... } nngn::LightsUBO::point |
std::array<vec4, NNGN_MAX_LIGHTS> nngn::LightsUBO::pos = {} |
vec3 nngn::LightsUBO::view_pos = {} |