diff options
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 9 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 14 |
2 files changed, 23 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; diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 7b78aa9e062..3c5f51e25d1 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -792,6 +792,15 @@ typedef struct RenderProfile { } RenderProfile; /* *************************************************************** */ +/* Clay Engine */ + +/* Render Data */ +typedef struct EngineDataClay { + short matcap_icon; /* Icon ID */ + short pad; +} EngineDataClay; + +/* *************************************************************** */ /* Game Engine - Dome */ typedef struct GameDome { @@ -1633,6 +1642,10 @@ typedef struct Scene { ListBase render_layers; struct SceneCollection *collection; + + /* Engine Settings */ + struct EngineDataClay claydata; + short pad10[2]; } Scene; /* **************** RENDERDATA ********************* */ @@ -1822,6 +1835,7 @@ enum { extern const char *RE_engine_id_BLENDER_RENDER; extern const char *RE_engine_id_BLENDER_GAME; extern const char *RE_engine_id_CYCLES; +extern const char *RE_engine_id_CLAY; /* **************** SCENE ********************* */ |