Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
sdl_spectrum_io.h File Reference
#include "Math/TVector3.h"
#include "Math/Color/Spectrum.h"
#include "Actor/SDLExtension/sdl_color_enums.h"
#include "Math/Color/color_basics.h"
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  ph
 The root for all renderer implementations.
 
namespace  ph::sdl
 

Functions

math::Spectrum ph::sdl::tristimulus_to_spectrum (const math::TVector3< math::ColorValue > &tristimulus, math::EColorSpace colorSpace, math::EColorUsage usage)
 
math::Spectrum ph::sdl::load_spectrum (std::string_view sdlSpectrumStr, std::string_view tag, math::EColorUsage usage)
 
void ph::sdl::save_spectrum (const math::Spectrum &spectrum, std::string &out_sdlSpectrumStr, std::string &out_tag)