mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-21 11:26:53 +01:00
37 lines
623 B
C++
37 lines
623 B
C++
#ifndef OUTPUT_IMAGE_H
|
|
#define OUTPUT_IMAGE_H
|
|
|
|
|
|
class OutputImage : public MMNode {
|
|
GDCLASS(OutputImage, MMNode);
|
|
|
|
public:
|
|
|
|
Ref<Resource> get_image();
|
|
void set_image(const Ref<Resource> &val);
|
|
|
|
String get_postfix();
|
|
void set_postfix(const String &val);
|
|
|
|
void _init_properties();
|
|
void _register_methods(const Variant &mm_graph_node);
|
|
void _render(const Variant &material);
|
|
String get_postfix();
|
|
void set_postfix(const String &pf);
|
|
|
|
OutputImage();
|
|
~OutputImage();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
//tool
|
|
//export(Resource)
|
|
Ref<Resource> image;
|
|
//export(String)
|
|
String postfix = "";
|
|
};
|
|
|
|
|
|
#endif
|