Blender V5.3
blender::SessionUID Struct Reference

#include <DNA_session_uid_types.h>

Public Attributes

uint64_t uid_ = 0

Detailed Description

Is a structure because of the following considerations:

  • It is not possible to use custom types in DNA members: makesdna does not recognize them.
  • It allows to add more bits, more than standard fixed-size types can store. For example, if we ever need to go 128 bits, it is as simple as adding extra 64bit field.

Definition at line 22 of file DNA_session_uid_types.h.

Member Data Documentation

◆ uid_

uint64_t blender::SessionUID::uid_ = 0

Never access directly, as it might cause a headache when more bits are needed: if the field is used directly it will not be easy to find all places where partial access is used.

Definition at line 27 of file DNA_session_uid_types.h.

Referenced by blender::BLI_session_uid_generate().


The documentation for this struct was generated from the following file: