Blender V4.3
blender::deg::BuilderMap Class Reference

#include <deg_builder_map.h>

Public Types

enum  {
  TAG_ANIMATION = (1 << 0) , TAG_PARAMETERS = (1 << 1) , TAG_TRANSFORM = (1 << 2) , TAG_GEOMETRY = (1 << 3) ,
  TAG_SCENE_COMPOSITOR = (1 << 4) , TAG_SCENE_SEQUENCER = (1 << 5) , TAG_SCENE_AUDIO = (1 << 6) , TAG_COMPLETE
}

Public Member Functions

bool checkIsBuilt (ID *id, int tag=TAG_COMPLETE) const
void tagBuild (ID *id, int tag=TAG_COMPLETE)
bool checkIsBuiltAndTag (ID *id, int tag=TAG_COMPLETE)
template<typename T>
bool checkIsBuilt (T *datablock, int tag=TAG_COMPLETE) const
template<typename T>
void tagBuild (T *datablock, int tag=TAG_COMPLETE)
template<typename T>
bool checkIsBuiltAndTag (T *datablock, int tag=TAG_COMPLETE)

Protected Member Functions

int getIDTag (ID *id) const

Protected Attributes

Map< ID *, intid_tags_

Detailed Description

Definition at line 17 of file deg_builder_map.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
TAG_ANIMATION 
TAG_PARAMETERS 
TAG_TRANSFORM 
TAG_GEOMETRY 
TAG_SCENE_COMPOSITOR 
TAG_SCENE_SEQUENCER 
TAG_SCENE_AUDIO 
TAG_COMPLETE 

Definition at line 19 of file deg_builder_map.h.

Member Function Documentation

◆ checkIsBuilt() [1/2]

bool blender::deg::BuilderMap::checkIsBuilt ( ID * id,
int tag = TAG_COMPLETE ) const

Definition at line 15 of file deg_builder_map.cc.

References getIDTag().

Referenced by checkIsBuilt().

◆ checkIsBuilt() [2/2]

template<typename T>
bool blender::deg::BuilderMap::checkIsBuilt ( T * datablock,
int tag = TAG_COMPLETE ) const
inline

Definition at line 44 of file deg_builder_map.h.

References checkIsBuilt(), and TAG_COMPLETE.

◆ checkIsBuiltAndTag() [1/2]

bool blender::deg::BuilderMap::checkIsBuiltAndTag ( ID * id,
int tag = TAG_COMPLETE )

Definition at line 25 of file deg_builder_map.cc.

References id_tags_, and result.

Referenced by checkIsBuiltAndTag().

◆ checkIsBuiltAndTag() [2/2]

template<typename T>
bool blender::deg::BuilderMap::checkIsBuiltAndTag ( T * datablock,
int tag = TAG_COMPLETE )
inline

Definition at line 52 of file deg_builder_map.h.

References checkIsBuiltAndTag(), and TAG_COMPLETE.

◆ getIDTag()

int blender::deg::BuilderMap::getIDTag ( ID * id) const
protected

Definition at line 33 of file deg_builder_map.cc.

References id_tags_.

Referenced by checkIsBuilt().

◆ tagBuild() [1/2]

void blender::deg::BuilderMap::tagBuild ( ID * id,
int tag = TAG_COMPLETE )

Definition at line 20 of file deg_builder_map.cc.

References id_tags_.

Referenced by tagBuild().

◆ tagBuild() [2/2]

template<typename T>
void blender::deg::BuilderMap::tagBuild ( T * datablock,
int tag = TAG_COMPLETE )
inline

Definition at line 48 of file deg_builder_map.h.

References TAG_COMPLETE, and tagBuild().

Member Data Documentation

◆ id_tags_

Map<ID *, int> blender::deg::BuilderMap::id_tags_
protected

Definition at line 60 of file deg_builder_map.h.

Referenced by checkIsBuiltAndTag(), getIDTag(), and tagBuild().


The documentation for this class was generated from the following files: