diff options
Diffstat (limited to 'source/blender/freestyle/intern/blender_interface/BlenderTextureManager.h')
-rw-r--r-- | source/blender/freestyle/intern/blender_interface/BlenderTextureManager.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/BlenderTextureManager.h b/source/blender/freestyle/intern/blender_interface/BlenderTextureManager.h new file mode 100644 index 00000000000..d49ab9cf008 --- /dev/null +++ b/source/blender/freestyle/intern/blender_interface/BlenderTextureManager.h @@ -0,0 +1,23 @@ +#ifndef BLENDERTEXTUREMANAGER_H +#define BLENDERTEXTUREMANAGER_H + +# include "../system/FreestyleConfig.h" +# include "../stroke/StrokeRenderer.h" +# include "../stroke/StrokeRep.h" + +/*! Class to load textures + */ +class LIB_RENDERING_EXPORT BlenderTextureManager : public TextureManager +{ + public: + BlenderTextureManager (); + virtual ~BlenderTextureManager (); +protected: + virtual unsigned loadBrush(string fileName, Stroke::MediumType = Stroke::OPAQUE_MEDIUM); + + protected: + virtual void loadStandardBrushes(); + +}; + +#endif // BLENDERTEXTUREMANAGER_H |