Blender V5.0
DNA_collection_types.h File Reference

Object groups, one object can be in many groups at once. More...

#include "DNA_ID.h"
#include "DNA_defs.h"
#include "DNA_listBase.h"

Go to the source code of this file.

Classes

struct  CollectionLightLinking
struct  CollectionObject
struct  CollectionChild
struct  CollectionExport
struct  Collection

Macros

#define COLLECTION_FLAG_ALL_RUNTIME   (COLLECTION_HAS_OBJECT_CACHE | COLLECTION_HAS_OBJECT_CACHE_INSTANCED)

Typedefs

typedef struct CollectionRuntimeHandle CollectionRuntimeHandle
typedef struct CollectionLightLinking CollectionLightLinking
typedef struct CollectionObject CollectionObject
typedef struct CollectionChild CollectionChild
typedef struct CollectionExport CollectionExport
typedef enum IOHandlerPanelFlag IOHandlerPanelFlag
typedef enum eCollectionLightLinkingState eCollectionLightLinkingState
typedef struct Collection Collection
typedef enum CollectionColorTag CollectionColorTag

Enumerations

enum  IOHandlerPanelFlag { IO_HANDLER_PANEL_OPEN = 1 << 0 }
enum  eCollectionLightLinkingState { COLLECTION_LIGHT_LINKING_STATE_INCLUDE = 0 , COLLECTION_LIGHT_LINKING_STATE_EXCLUDE = 1 }
enum  eCollectionLineArt_Usage {
  COLLECTION_LRT_INCLUDE = 0 , COLLECTION_LRT_OCCLUSION_ONLY = (1 << 0) , COLLECTION_LRT_EXCLUDE = (1 << 1) , COLLECTION_LRT_INTERSECTION_ONLY = (1 << 2) ,
  COLLECTION_LRT_NO_INTERSECTION = (1 << 3) , COLLECTION_LRT_FORCE_INTERSECTION = (1 << 4)
}
enum  eCollectionLineArt_Flags { COLLECTION_LRT_USE_INTERSECTION_MASK = (1 << 0) , COLLECTION_LRT_USE_INTERSECTION_PRIORITY = (1 << 1) }
enum  {
  COLLECTION_HIDE_VIEWPORT = (1 << 0) , COLLECTION_HIDE_SELECT = (1 << 1) , COLLECTION_HIDE_RENDER = (1 << 3) , COLLECTION_HAS_OBJECT_CACHE = (1 << 4) ,
  COLLECTION_IS_MASTER = (1 << 5) , COLLECTION_HAS_OBJECT_CACHE_INSTANCED = (1 << 6)
}
enum  CollectionColorTag {
  COLLECTION_COLOR_NONE = -1 , COLLECTION_COLOR_01 , COLLECTION_COLOR_02 , COLLECTION_COLOR_03 ,
  COLLECTION_COLOR_04 , COLLECTION_COLOR_05 , COLLECTION_COLOR_06 , COLLECTION_COLOR_07 ,
  COLLECTION_COLOR_08 , COLLECTION_COLOR_TOT
}

Detailed Description

Object groups, one object can be in many groups at once.

Definition in file DNA_collection_types.h.

Macro Definition Documentation

◆ COLLECTION_FLAG_ALL_RUNTIME

Typedef Documentation

◆ Collection

typedef struct Collection Collection

◆ CollectionChild

typedef struct CollectionChild CollectionChild

◆ CollectionColorTag

◆ CollectionExport

typedef struct CollectionExport CollectionExport

◆ CollectionLightLinking

typedef struct CollectionLightLinking CollectionLightLinking

◆ CollectionObject

typedef struct CollectionObject CollectionObject

◆ CollectionRuntimeHandle

◆ eCollectionLightLinkingState

◆ IOHandlerPanelFlag

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Collection.flag

Enumerator
COLLECTION_HIDE_VIEWPORT 

Disable in viewports.

COLLECTION_HIDE_SELECT 

Not selectable in viewport.

COLLECTION_HIDE_RENDER 

Disable in renders.

COLLECTION_HAS_OBJECT_CACHE 

Runtime: object_cache is populated.

COLLECTION_IS_MASTER 

Is master collection embedded in the scene.

COLLECTION_HAS_OBJECT_CACHE_INSTANCED 

for object_cache_instanced.

Definition at line 156 of file DNA_collection_types.h.

◆ CollectionColorTag

Collection.color_tag

Enumerator
COLLECTION_COLOR_NONE 
COLLECTION_COLOR_01 
COLLECTION_COLOR_02 
COLLECTION_COLOR_03 
COLLECTION_COLOR_04 
COLLECTION_COLOR_05 
COLLECTION_COLOR_06 
COLLECTION_COLOR_07 
COLLECTION_COLOR_08 
COLLECTION_COLOR_TOT 

Definition at line 176 of file DNA_collection_types.h.

◆ eCollectionLightLinkingState

Enumerator
COLLECTION_LIGHT_LINKING_STATE_INCLUDE 
COLLECTION_LIGHT_LINKING_STATE_EXCLUDE 

Definition at line 94 of file DNA_collection_types.h.

◆ eCollectionLineArt_Flags

Enumerator
COLLECTION_LRT_USE_INTERSECTION_MASK 
COLLECTION_LRT_USE_INTERSECTION_PRIORITY 

Definition at line 108 of file DNA_collection_types.h.

◆ eCollectionLineArt_Usage

Enumerator
COLLECTION_LRT_INCLUDE 
COLLECTION_LRT_OCCLUSION_ONLY 
COLLECTION_LRT_EXCLUDE 
COLLECTION_LRT_INTERSECTION_ONLY 
COLLECTION_LRT_NO_INTERSECTION 
COLLECTION_LRT_FORCE_INTERSECTION 

Definition at line 99 of file DNA_collection_types.h.

◆ IOHandlerPanelFlag

Enumerator
IO_HANDLER_PANEL_OPEN 

Definition at line 88 of file DNA_collection_types.h.