mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 19:29:58 +01:00
Implementation of masks (double texturing ImageShader) for sources.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#ifndef IMAGESHADER_H
|
||||
#define IMAGESHADER_H
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
#include "Shader.h"
|
||||
|
||||
class ImageShader : public Shader
|
||||
@@ -14,8 +17,12 @@ public:
|
||||
void reset() override;
|
||||
void accept(Visitor& v) override;
|
||||
|
||||
|
||||
uint mask;
|
||||
float stipple;
|
||||
|
||||
static const char* mask_names[];
|
||||
static std::vector< uint > mask_presets;
|
||||
};
|
||||
|
||||
#endif // IMAGESHADER_H
|
||||
|
||||
Reference in New Issue
Block a user