Blender  V3.3
Public Member Functions | Public Attributes | List of all members
blender::eevee::ObjectKey Struct Reference

#include <eevee_sync.hh>

Public Member Functions

 ObjectKey ()
 
 ObjectKey (Object *ob_, Object *parent_, int id_[MAX_DUPLI_RECUR], bool use_particle_hair_)
 
 ObjectKey (Object *ob, DupliObject *dupli, Object *parent)
 
 ObjectKey (Object *ob)
 
uint64_t hash () const
 
bool operator< (const ObjectKey &k) const
 
bool operator== (const ObjectKey &k) const
 

Public Attributes

uint64_t hash_value
 
Objectob
 
Objectparent
 
int id [MAX_DUPLI_RECUR]
 
bool use_particle_hair
 

Detailed Description

Definition at line 34 of file eevee_sync.hh.

Constructor & Destructor Documentation

◆ ObjectKey() [1/4]

blender::eevee::ObjectKey::ObjectKey ( )
inline

Definition at line 48 of file eevee_sync.hh.

◆ ObjectKey() [2/4]

blender::eevee::ObjectKey::ObjectKey ( Object ob_,
Object parent_,
int  id_[MAX_DUPLI_RECUR],
bool  use_particle_hair_ 
)
inline

◆ ObjectKey() [3/4]

blender::eevee::ObjectKey::ObjectKey ( Object ob,
DupliObject dupli,
Object parent 
)
inline

Definition at line 75 of file eevee_sync.hh.

◆ ObjectKey() [4/4]

blender::eevee::ObjectKey::ObjectKey ( Object ob)
inline

Definition at line 78 of file eevee_sync.hh.

Member Function Documentation

◆ hash()

uint64_t blender::eevee::ObjectKey::hash ( ) const
inline

Definition at line 81 of file eevee_sync.hh.

References hash_value.

◆ operator<()

bool blender::eevee::ObjectKey::operator< ( const ObjectKey k) const
inline

Definition at line 86 of file eevee_sync.hh.

References id, ob, parent, and use_particle_hair.

◆ operator==()

bool blender::eevee::ObjectKey::operator== ( const ObjectKey k) const
inline

Definition at line 100 of file eevee_sync.hh.

References id, ob, parent, and use_particle_hair.

Member Data Documentation

◆ hash_value

uint64_t blender::eevee::ObjectKey::hash_value

Hash value of the key.

Definition at line 36 of file eevee_sync.hh.

Referenced by hash(), and ObjectKey().

◆ id

int blender::eevee::ObjectKey::id[MAX_DUPLI_RECUR]

Dupli objects recursive unique identifier

Definition at line 42 of file eevee_sync.hh.

Referenced by operator<(), and operator==().

◆ ob

Object* blender::eevee::ObjectKey::ob

Original Object or source object for duplis.

Definition at line 38 of file eevee_sync.hh.

Referenced by ObjectKey(), operator<(), operator==(), and blender::eevee::SyncModule::sync_object().

◆ parent

Object* blender::eevee::ObjectKey::parent

Original Parent object for duplis.

Definition at line 40 of file eevee_sync.hh.

Referenced by ObjectKey(), operator<(), and operator==().

◆ use_particle_hair

bool blender::eevee::ObjectKey::use_particle_hair

If object uses particle system hair.

Definition at line 44 of file eevee_sync.hh.

Referenced by operator<(), and operator==().


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