14#include <lagrange/ui/api.h>
15#include <lagrange/fs/filesystem.h>
16#include <lagrange/ui/Entity.h>
17#include <lagrange/ui/components/IBL.h>
29LA_UI_API IBL
generate_ibl(
const fs::path& path,
size_t resolution = 1024);
36LA_UI_API IBL
generate_ibl(
const std::shared_ptr<Texture>& background_texture,
size_t resolution = 1024);
46LA_UI_API
const IBL*
get_ibl(
const Registry& registry);
49LA_UI_API IBL*
get_ibl(Registry& registry);
52LA_UI_API Entity
add_ibl(Registry& registry, IBL ibl);
55LA_UI_API
void clear_ibl(Registry& registry);
64LA_UI_API
bool save_ibl(
const IBL& ibl,
const fs::path& folder);
Lagrange UI Viewer and mini 3D engine.
Definition: AcceleratedPicking.h:22
LA_UI_API Entity add_ibl(Registry ®istry, IBL ibl)
Adds IBL to the scene.
Definition: ibl.cpp:377
LA_UI_API const IBL * get_ibl(const Registry ®istry)
Returns pointer to the first IBL found in the registry.
Definition: ibl.cpp:363
LA_UI_API Entity get_ibl_entity(const Registry ®istry)
Returns first <IBL> entity found in registry.
Definition: ibl.cpp:356
LA_UI_API void clear_ibl(Registry ®istry)
Removes all ibls.
Definition: ibl.cpp:384
LA_UI_API IBL generate_ibl(const fs::path &path, size_t resolution=1024)
Utility functions for Image Based Lights (IBLs)
Definition: ibl.cpp:141
LA_UI_API bool save_ibl(const IBL &ibl, const fs::path &folder)
Saves IBL as individual .png files in given folder.
Definition: ibl.cpp:390
Main namespace for Lagrange.
Definition: AABBIGL.h:30