Unravel Engine C++ Reference
Loading...
Searching...
No Matches
reflection_probe.h File Reference
#include <engine/engine_export.h>
#include <math/math.h>
#include <cstdint>

Go to the source code of this file.

Classes

struct  unravel::reflection_probe
 Structure representing a reflection probe. More...
 
struct  unravel::reflection_probe::box
 Structure representing box projection data. More...
 
struct  unravel::reflection_probe::sphere
 Structure representing sphere projection data. More...
 

Namespaces

namespace  unravel
 

Enumerations

enum class  unravel::probe_type : std::uint8_t { unravel::box = 0 , unravel::sphere = 1 }
 Enum class representing the type of reflection probe. More...
 
enum class  unravel::reflect_method : std::uint8_t { unravel::environment = 0 , unravel::static_only = 1 }
 Enum class representing the reflection method. More...
 
enum class  unravel::probe_update_mode : std::uint8_t { unravel::on_demand = 0 , unravel::once = 1 , unravel::realtime = 2 }
 Enum class describing when a reflection probe refreshes its cubemap. More...
 
enum class  unravel::probe_resolution : std::uint8_t {
  unravel::res_16 = 0 , unravel::res_32 , unravel::res_64 , unravel::res_128 ,
  unravel::res_256 , unravel::res_512 , unravel::res_1024 , unravel::count
}
 Fixed cubemap face resolutions supported by reflection probes. More...
 

Functions

auto unravel::probe_resolution_to_size (probe_resolution resolution) -> std::uint16_t
 Converts a probe_resolution enum value to its pixel size.
 
auto unravel::operator== (const reflection_probe &pr1, const reflection_probe &pr2) -> bool
 Equality operator for reflection_probe.
 
auto unravel::operator!= (const reflection_probe &pr1, const reflection_probe &pr2) -> bool
 Inequality operator for reflection_probe.