diff options
Diffstat (limited to 'source/blender/makesdna/DNA_layer_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_layer_types.h | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/source/blender/makesdna/DNA_layer_types.h b/source/blender/makesdna/DNA_layer_types.h index d959d54b07f..c2d334e3e92 100644 --- a/source/blender/makesdna/DNA_layer_types.h +++ b/source/blender/makesdna/DNA_layer_types.h @@ -58,34 +58,42 @@ typedef struct LayerCollection { short flag; short runtime_flag; short pad[2]; - ListBase layer_collections; /* synced with collection->children */ + /** Synced with collection->children. */ + ListBase layer_collections; } LayerCollection; typedef struct ViewLayer { struct ViewLayer *next, *prev; - char name[64]; /* MAX_NAME */ + /** MAX_NAME. */ + char name[64]; short flag; short runtime_flag; short pad[2]; - ListBase object_bases; /* ObjectBase */ - struct SceneStats *stats; /* default allocated now */ + /** ObjectBase. */ + ListBase object_bases; + /** Default allocated now. */ + struct SceneStats *stats; struct Base *basact; - ListBase layer_collections; /* LayerCollection */ + /** LayerCollection. */ + ListBase layer_collections; LayerCollection *active_collection; /* Old SceneRenderLayer data. */ int layflag; - int passflag; /* pass_xor has to be after passflag */ + /** Pass_xor has to be after passflag. */ + int passflag; float pass_alpha_threshold; int samples; struct Material *mat_override; - struct IDProperty *id_properties; /* Equivalent to datablocks ID properties. */ + /** Equivalent to datablocks ID properties. */ + struct IDProperty *id_properties; struct FreestyleConfig freestyle_config; /* Runtime data */ - ListBase drawdata; /* ViewLayerEngineData */ + /** ViewLayerEngineData. */ + ListBase drawdata; struct Base **object_bases_array; struct GHash *object_bases_hash; } ViewLayer; @@ -148,13 +156,17 @@ enum { typedef struct SceneCollection { struct SceneCollection *next, *prev; - char name[64]; /* MAX_NAME */ - int active_object_index; /* for UI */ + /** MAX_NAME. */ + char name[64]; + /** For UI. */ + int active_object_index; short flag; char type; char pad; - ListBase objects; /* (Object *)LinkData->data */ - ListBase scene_collections; /* nested collections */ + /** (Object *)LinkData->data. */ + ListBase objects; + /** Nested collections. */ + ListBase scene_collections; } SceneCollection; #ifdef __cplusplus |