diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-01-05 12:48:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-01-05 13:28:11 +0300 |
commit | 624f3c254f2b70fd78bbf7b562a7c6b156db78b8 (patch) | |
tree | f662f529217447373449503fe07d3f3d61e870c7 /source/blender/makesdna/DNA_material_types.h | |
parent | 0c4776280da79a4a20955be1e9d44bfb7e111966 (diff) |
(Clay) Added Render settings:
- Default clay settings inside Scene RNA
- Material clay settings RNA is here and will be used once we can render multiple meshes
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 0c500e366a7..e078eb86667 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -90,6 +90,11 @@ typedef struct TexPaintSlot { int pad; } TexPaintSlot; +typedef struct EngineSettingsClay { + short matcap_icon; /* Icon ID */ + short pad; +} EngineSettingsClay; + typedef struct Material { ID id; struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */ @@ -203,6 +208,10 @@ typedef struct Material { struct TexPaintSlot *texpaintslot; /* cached slot for painting. Make sure to recalculate before use * with refresh_texpaint_image_cache */ + /* Engine Settings */ + struct EngineSettingsClay clay; + char pad6[4]; + ListBase gpumaterial; /* runtime */ } Material; |