7 #ifndef CAFU_EDITOR_MATERIAL_HPP_INCLUDED
8 #define CAFU_EDITOR_MATERIAL_HPP_INCLUDED
13 namespace MatSys {
class RenderMaterialT; }
27 virtual int GetWidth()
const=0;
28 virtual int GetHeight()
const=0;
30 virtual const wxString& GetName()
const=0;
36 virtual void Draw(wxDC& dc,
const wxRect& DestRect,
int NameBoxHeight,
bool DrawNameBox)
const=0;
37 virtual const wxImage& GetImage()
const=0;
This class represents a surface render material.
Definition: RenderMaterial.hpp:25
virtual MatSys::RenderMaterialT * GetRenderMaterial(bool PreviewMode) const =0
Returns the render material of this material.
virtual bool IsTranslucent() const =0
Returns whether this material is rendered translucently.
virtual MaterialT * GetMaterial() const =0
Returns the material object.
This class represents a surface material ("A datastructural representation of a scripts material def...
Definition: Material.hpp:22
Definition: EditorMaterial.hpp:21
virtual bool ShowInMaterialBrowser() const =0
Returns whether the material should be shown for selection in the materials browser.