Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_layer_types.h
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | typedef enum eViewLayerCryptomatteFlags { | ||||
| VIEW_LAYER_CRYPTOMATTE_ACCURATE = (1 << 3), | VIEW_LAYER_CRYPTOMATTE_ACCURATE = (1 << 3), | ||||
| } eViewLayerCryptomatteFlags; | } eViewLayerCryptomatteFlags; | ||||
| #define VIEW_LAYER_CRYPTOMATTE_ALL \ | #define VIEW_LAYER_CRYPTOMATTE_ALL \ | ||||
| (VIEW_LAYER_CRYPTOMATTE_OBJECT | VIEW_LAYER_CRYPTOMATTE_MATERIAL | VIEW_LAYER_CRYPTOMATTE_ASSET) | (VIEW_LAYER_CRYPTOMATTE_OBJECT | VIEW_LAYER_CRYPTOMATTE_MATERIAL | VIEW_LAYER_CRYPTOMATTE_ASSET) | ||||
| typedef struct Base { | typedef struct Base { | ||||
| struct Base *next, *prev; | struct Base *next, *prev; | ||||
| /* Flags which are based on the collections flags evaluation, does not | struct Object *object; | ||||
| * include flags from object's restrictions. */ | |||||
| short flag_from_collection; | /* Pointer to an original base. Is initialized for evaluated view layer. | ||||
| * NOTE: Only allowed to be accessed from within active dependency graph. */ | |||||
| struct Base *base_orig; | |||||
| unsigned int lay DNA_DEPRECATED; | |||||
| /* Final flags, including both accumulated collection flags and object's | /* Final flags, including both accumulated collection flags and object's | ||||
| * restriction flags. */ | * restriction flags. */ | ||||
| short flag; | short flag; | ||||
| /* Flags which are based on the collections flags evaluation, does not | |||||
| * include flags from object's restrictions. */ | |||||
| short flag_from_collection; | |||||
| short flag_legacy; | |||||
| unsigned short local_view_bits; | unsigned short local_view_bits; | ||||
| short sx, sy; | |||||
| char _pad1[6]; | |||||
| struct Object *object; | |||||
| unsigned int lay DNA_DEPRECATED; | |||||
| int flag_legacy; | |||||
| unsigned short local_collections_bits; | unsigned short local_collections_bits; | ||||
| short _pad2[3]; | char _pad1[2]; | ||||
| /* Pointer to an original base. Is initialized for evaluated view layer. | |||||
| * NOTE: Only allowed to be accessed from within active dependency graph. */ | |||||
| struct Base *base_orig; | |||||
| void *_pad; | |||||
| } Base; | } Base; | ||||
| typedef struct ViewLayerEngineData { | typedef struct ViewLayerEngineData { | ||||
| struct ViewLayerEngineData *next, *prev; | struct ViewLayerEngineData *next, *prev; | ||||
| struct DrawEngineType *engine_type; | struct DrawEngineType *engine_type; | ||||
| void *storage; | void *storage; | ||||
| void (*free)(void *storage); | void (*free)(void *storage); | ||||
| } ViewLayerEngineData; | } ViewLayerEngineData; | ||||
| ▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines | |||||