Blender V4.3
SessionUID Struct Reference

#include <DNA_session_uid_types.h>

Public Attributes

uint64_t uid_
 

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 20 of file DNA_session_uid_types.h.

Member Data Documentation

◆ uid_

uint64_t SessionUID::uid_

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 25 of file DNA_session_uid_types.h.

Referenced by BLI_session_uid_generate(), BLI_session_uid_ghash_hash(), BLI_session_uid_hash_uint64(), and BLI_session_uid_is_equal().


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