1 #ifndef LUMIVERSE_TONEMAPPER_H
2 #define LUMIVERSE_TONEMAPPER_H
6 #ifdef USE_ARNOLD_CACHING
34 std::string get_type();
46 void set_gamma(
float gamma);
58 void set_level(
float level);
66 void set_input(Pixel4 *buffer,
size_t w,
size_t h);
72 void set_output_hdr(
float *buffer);
78 void set_output_bmp(
char *buffer);
85 virtual void apply_hdr();
91 virtual void apply_hdr_inplace(Pixel4* in,
float* out,
size_t w,
size_t h);
98 virtual void apply_bmp();
103 virtual void reset();
105 void update_dims(
int width,
int height);
147 Pixel4 *input_buffer;
156 float *hdr_output_buffer;
164 char *bmp_output_buffer;
169 #endif // USE_ARNOLD_CACHING
171 #endif // LIGHTMAN_TONEMAPPER_H
Contains all core Lumiverse functions and variables.
Definition: Device.cpp:2