Blender V5.0
blender::draw::InstancesKey Struct Reference

Public Member Functions

 InstancesKey (Object *object, ID *ob_data, InstancesFlags flags, const blender::bke::GeometrySet *preview_base_geometry, int preview_instance_index)
uint64_t hash () const
bool operator== (const InstancesKey &k) const

Public Attributes

uint64_t hash_value
Objectobject
IDob_data
const blender::bke::GeometrySetpreview_base_geometry
int preview_instance_index
InstancesFlags flags

Detailed Description

Definition at line 721 of file draw_context.cc.

Constructor & Destructor Documentation

◆ InstancesKey()

blender::draw::InstancesKey::InstancesKey ( Object * object,
ID * ob_data,
InstancesFlags flags,
const blender::bke::GeometrySet * preview_base_geometry,
int preview_instance_index )
inline

Member Function Documentation

◆ hash()

uint64_t blender::draw::InstancesKey::hash ( ) const
inline

Definition at line 748 of file draw_context.cc.

References hash_value.

◆ operator==()

bool blender::draw::InstancesKey::operator== ( const InstancesKey & k) const
inline

Member Data Documentation

◆ flags

InstancesFlags blender::draw::InstancesKey::flags

Definition at line 728 of file draw_context.cc.

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

◆ hash_value

uint64_t blender::draw::InstancesKey::hash_value

Definition at line 722 of file draw_context.cc.

Referenced by hash(), InstancesKey(), and operator==().

◆ ob_data

ID* blender::draw::InstancesKey::ob_data

Definition at line 725 of file draw_context.cc.

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

◆ object

Object* blender::draw::InstancesKey::object

Definition at line 724 of file draw_context.cc.

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

◆ preview_base_geometry

const blender::bke::GeometrySet* blender::draw::InstancesKey::preview_base_geometry

Definition at line 726 of file draw_context.cc.

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

◆ preview_instance_index

int blender::draw::InstancesKey::preview_instance_index

Definition at line 727 of file draw_context.cc.

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


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