VOX
A little voxel engine
Loading...
Searching...
No Matches
DebugGui Class Reference

#include <DebugGui.hpp>

Collaboration diagram for DebugGui:
Collaboration graph

Static Public Attributes

static constexpr int NOISE_SIZE = 256
 
static std::atomic< uint32_t > fps = 0
 
static std::atomic< uint32_t > ups = 0
 
static std::atomic< uint64_t > rendered_triangles = 0
 
static std::atomic< uint64_t > gpu_allocated_memory = 0
 
static Atomic< glm::vec3 > player_position
 
static Atomic< glm::vec3 > player_velocity_vec
 
static std::atomic< double > player_velocity
 
static std::atomic< int > looked_face_sky_light
 
static std::atomic< int > looked_face_block_light
 
static std::atomic< float > continentalness
 
static std::atomic< float > erosion
 
static std::atomic< float > humidity
 
static std::atomic< float > weirdness
 
static std::atomic< float > PV
 
static std::atomic< float > temperature
 
static std::atomic< bool > isLand
 
static std::atomic< bool > isOcean
 
static std::atomic< uint8_t > biome
 
static History< float, 100 > frame_time_history
 
static History< float, 100 > cpu_time_history
 
static History< float, 100 > cpu_wait_time_history
 
static std::atomic_int32_t chunk_mesh_count = 0
 
static History< float, 100 > chunk_count_history
 
static History< float, 1000 > chunk_load_queue_size_history
 
static History< float, 1000 > chunk_unload_queue_size_history
 
static History< float, 100 > chunk_render_time_history
 
static History< float, 100 > chunk_gen_time_history
 
static History< float, 100 > chunk_unload_time_history
 
static std::atomic< double > create_mesh_time
 
static std::atomic< size_t > send_buffer_size
 
static std::atomic< size_t > recv_buffer_size
 
static History< size_t, 100 > send_history
 
static History< size_t, 100 > recv_history
 
static std::atomic< float > sun_theta = 70.0f
 
static std::atomic< float > earth_radius = 6360000.0f
 
static std::atomic< float > atmosphere_radius = 6420000.0f
 
static std::atomic< float > player_height = 1.0f
 
static Atomic< glm::vec3 > beta_rayleigh = glm::vec3(5.8e-6, 13.5e-6, 33.1e-6)
 
static Atomic< glm::vec3 > beta_mie = glm::vec3(21e-6)
 
static std::atomic< float > sun_intensity = 20.0f
 
static std::atomic< float > h_rayleigh = 7994.0f
 
static std::atomic< float > h_mie = 1200.0f
 
static std::atomic< float > g = 0.95f
 
static std::atomic< int > n_samples = 8.0f
 
static std::atomic< int > n_light_samples = 4.0f
 
static std::atomic< uint64_t > imgui_texture_id = 0
 
static std::atomic< uint64_t > continentalness_texture_id = 0
 
static std::atomic< uint64_t > weirdness_texture_id = 0
 
static std::atomic< uint64_t > temperature_texture_id = 0
 
static std::atomic< uint64_t > PV_texture_id = 0
 
static std::atomic< uint64_t > erosion_texture_id = 0
 
static std::atomic< uint64_t > humidity_texture_id = 0
 
static std::atomic< uint64_t > biome_texture_id = 0
 

Member Data Documentation

◆ atmosphere_radius

std::atomic<float> DebugGui::atmosphere_radius = 6420000.0f
inlinestatic

◆ beta_mie

Atomic<glm::vec3> DebugGui::beta_mie = glm::vec3(21e-6)
inlinestatic

◆ beta_rayleigh

Atomic<glm::vec3> DebugGui::beta_rayleigh = glm::vec3(5.8e-6, 13.5e-6, 33.1e-6)
inlinestatic

◆ biome

std::atomic<uint8_t> DebugGui::biome
inlinestatic

◆ biome_texture_id

std::atomic<uint64_t> DebugGui::biome_texture_id = 0
inlinestatic

◆ chunk_count_history

History<float, 100> DebugGui::chunk_count_history
inlinestatic

◆ chunk_gen_time_history

History<float, 100> DebugGui::chunk_gen_time_history
inlinestatic

◆ chunk_load_queue_size_history

History<float, 1000> DebugGui::chunk_load_queue_size_history
inlinestatic

◆ chunk_mesh_count

std::atomic_int32_t DebugGui::chunk_mesh_count = 0
inlinestatic

◆ chunk_render_time_history

History<float, 100> DebugGui::chunk_render_time_history
inlinestatic

◆ chunk_unload_queue_size_history

History<float, 1000> DebugGui::chunk_unload_queue_size_history
inlinestatic

◆ chunk_unload_time_history

History<float, 100> DebugGui::chunk_unload_time_history
inlinestatic

◆ continentalness

std::atomic<float> DebugGui::continentalness
inlinestatic

◆ continentalness_texture_id

std::atomic<uint64_t> DebugGui::continentalness_texture_id = 0
inlinestatic

◆ cpu_time_history

History<float, 100> DebugGui::cpu_time_history
inlinestatic

◆ cpu_wait_time_history

History<float, 100> DebugGui::cpu_wait_time_history
inlinestatic

◆ create_mesh_time

std::atomic<double> DebugGui::create_mesh_time
inlinestatic

◆ earth_radius

std::atomic<float> DebugGui::earth_radius = 6360000.0f
inlinestatic

◆ erosion

std::atomic<float> DebugGui::erosion
inlinestatic

◆ erosion_texture_id

std::atomic<uint64_t> DebugGui::erosion_texture_id = 0
inlinestatic

◆ fps

std::atomic<uint32_t> DebugGui::fps = 0
inlinestatic

◆ frame_time_history

History<float, 100> DebugGui::frame_time_history
inlinestatic

◆ g

std::atomic<float> DebugGui::g = 0.95f
inlinestatic

◆ gpu_allocated_memory

std::atomic<uint64_t> DebugGui::gpu_allocated_memory = 0
inlinestatic

◆ h_mie

std::atomic<float> DebugGui::h_mie = 1200.0f
inlinestatic

◆ h_rayleigh

std::atomic<float> DebugGui::h_rayleigh = 7994.0f
inlinestatic

◆ humidity

std::atomic<float> DebugGui::humidity
inlinestatic

◆ humidity_texture_id

std::atomic<uint64_t> DebugGui::humidity_texture_id = 0
inlinestatic

◆ imgui_texture_id

std::atomic<uint64_t> DebugGui::imgui_texture_id = 0
inlinestatic

◆ isLand

std::atomic<bool> DebugGui::isLand
inlinestatic

◆ isOcean

std::atomic<bool> DebugGui::isOcean
inlinestatic

◆ looked_face_block_light

std::atomic<int> DebugGui::looked_face_block_light
inlinestatic

◆ looked_face_sky_light

std::atomic<int> DebugGui::looked_face_sky_light
inlinestatic

◆ n_light_samples

std::atomic<int> DebugGui::n_light_samples = 4.0f
inlinestatic

◆ n_samples

std::atomic<int> DebugGui::n_samples = 8.0f
inlinestatic

◆ NOISE_SIZE

constexpr int DebugGui::NOISE_SIZE = 256
staticconstexpr

◆ player_height

std::atomic<float> DebugGui::player_height = 1.0f
inlinestatic

◆ player_position

Atomic<glm::vec3> DebugGui::player_position
inlinestatic

◆ player_velocity

std::atomic<double> DebugGui::player_velocity
inlinestatic

◆ player_velocity_vec

Atomic<glm::vec3> DebugGui::player_velocity_vec
inlinestatic

◆ PV

std::atomic<float> DebugGui::PV
inlinestatic

◆ PV_texture_id

std::atomic<uint64_t> DebugGui::PV_texture_id = 0
inlinestatic

◆ recv_buffer_size

std::atomic<size_t> DebugGui::recv_buffer_size
inlinestatic

◆ recv_history

History<size_t, 100> DebugGui::recv_history
inlinestatic

◆ rendered_triangles

std::atomic<uint64_t> DebugGui::rendered_triangles = 0
inlinestatic

◆ send_buffer_size

std::atomic<size_t> DebugGui::send_buffer_size
inlinestatic

◆ send_history

History<size_t, 100> DebugGui::send_history
inlinestatic

◆ sun_intensity

std::atomic<float> DebugGui::sun_intensity = 20.0f
inlinestatic

◆ sun_theta

std::atomic<float> DebugGui::sun_theta = 70.0f
inlinestatic

◆ temperature

std::atomic<float> DebugGui::temperature
inlinestatic

◆ temperature_texture_id

std::atomic<uint64_t> DebugGui::temperature_texture_id = 0
inlinestatic

◆ ups

std::atomic<uint32_t> DebugGui::ups = 0
inlinestatic

◆ weirdness

std::atomic<float> DebugGui::weirdness
inlinestatic

◆ weirdness_texture_id

std::atomic<uint64_t> DebugGui::weirdness_texture_id = 0
inlinestatic

The documentation for this class was generated from the following file: