mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 10:19:59 +01:00
Large commit for implementation of load&save of MixingGroups
This commit is contained in:
6
Source.h
6
Source.h
@@ -131,12 +131,17 @@ public:
|
||||
void setMask (FrameBufferImage *img);
|
||||
void storeMask (FrameBufferImage *img = nullptr);
|
||||
|
||||
// operations on depth
|
||||
float depth () const;
|
||||
void setDepth (float d);
|
||||
|
||||
// operations on alpha
|
||||
float alpha () const;
|
||||
void setAlpha (float a);
|
||||
|
||||
// groups for mixing
|
||||
MixingGroup *mixingGroup() const { return mixinggroup_; }
|
||||
|
||||
struct hasNode: public std::unary_function<Source*, bool>
|
||||
{
|
||||
bool operator()(const Source* elem) const;
|
||||
@@ -179,6 +184,7 @@ public:
|
||||
float _to;
|
||||
};
|
||||
|
||||
// class-dependent icon
|
||||
virtual glm::ivec2 icon () const { return glm::ivec2(12, 11); }
|
||||
|
||||
// get the xml description text of a source
|
||||
|
||||
Reference in New Issue
Block a user