1 #ifndef Lumiverse_COMPOSITOR_H
2 #define Lumiverse_COMPOSITOR_H
4 #ifdef USE_ARNOLD_CACHING
6 #include <unordered_map>
55 std::unordered_map<std::string, EXRLayer *>& get_layers();
62 void add_layer(EXRLayer *layer);
69 void del_layer(EXRLayer *layer);
77 EXRLayer *get_layer_by_name(
const char *layer_name);
84 void del_layer_by_name(
const char *layer_name);
90 void render(
const std::set<Device*> &devices);
96 Pixel4 *get_compose_buffer() {
return compose_buffer; };
102 void update_dims(
int w,
int h);
107 bool contains_layer(
const char *layer_name);
132 std::unordered_map<std::string, EXRLayer *> layers;
140 Pixel4 *compose_buffer;
145 #endif // USE_ARNOLD_CACHING
147 #endif // Lumiverse_COMPOSITOR_H
void render()
Render a frame and pass it back to node.
Definition: Dumiverse.cpp:43
Represents a physical lighting Device in Lumiverse.
Contains all core Lumiverse functions and variables.
Definition: Device.cpp:2