mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-16 20:59:59 +01:00
New feature: Texture view Mask Source
Enable use of a source as mask for another source. Improved Mask mechanism in Source class, with various flags for update of source (avoid repeated mask update (GPU costly). Using SourceLink to link source to mask (improved robustness of SourceLink).
This commit is contained in:
@@ -47,7 +47,8 @@ public:
|
||||
enum Modes {
|
||||
NONE = 0,
|
||||
PAINT = 1,
|
||||
SHAPE = 2
|
||||
SHAPE = 2,
|
||||
SOURCE = 3
|
||||
};
|
||||
uint mode;
|
||||
|
||||
@@ -69,8 +70,8 @@ public:
|
||||
glm::vec4 cursor;
|
||||
glm::vec3 brush;
|
||||
|
||||
static const char* mask_icons[3];
|
||||
static const char* mask_names[3];
|
||||
static const char* mask_icons[4];
|
||||
static const char* mask_names[4];
|
||||
static const char* mask_shapes[5];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user