1 #ifndef LumiverseEXR_LAYER_H
2 #define LumiverseEXR_LAYER_H
4 #ifdef USE_ARNOLD_CACHING
8 #include <unordered_map>
24 EXRLayer(
const char *file,
const char *name = NULL);
30 EXRLayer(
size_t w,
size_t h,
const char *name = NULL);
40 std::string get_name();
75 Pixel3 get_modulator();
80 void set_modulator(Pixel3 modulator);
95 Pixel4 *get_downsampled_pixels(
int width,
int height);
100 void set_pixels(
float *buffer);
106 void set_pixels(Pixel4* buffer);
149 std::unordered_map<int, Pixel4*> pixel_size_bases;
155 int inline get_size_key(
int width,
int height);
160 #endif // USE_ARNOLD_CACHING
162 #endif // LumiverseEXR_LAYER_H
Contains all core Lumiverse functions and variables.
Definition: Device.cpp:2