Blender V4.3
BKE_duplilist.hh File Reference

Go to the source code of this file.

Classes

struct  DupliObject
 

Namespaces

namespace  blender
 
namespace  blender::bke
 

Functions

ListBaseobject_duplilist (Depsgraph *depsgraph, Scene *sce, Object *ob)
 
ListBaseobject_duplilist_preview (Depsgraph *depsgraph, Scene *scene, Object *ob, const ViewerPath *viewer_path)
 
void free_object_duplilist (ListBase *lb)
 
bool BKE_object_dupli_find_rgba_attribute (const Object *ob, const DupliObject *dupli, const Object *dupli_parent, const char *name, float r_value[4])
 
bool BKE_view_layer_find_rgba_attribute (const Scene *scene, const ViewLayer *layer, const char *name, float r_value[4])
 

Function Documentation

◆ BKE_object_dupli_find_rgba_attribute()

bool BKE_object_dupli_find_rgba_attribute ( const Object * ob,
const DupliObject * dupli,
const Object * dupli_parent,
const char * name,
float r_value[4] )

Look up the RGBA value of a uniform shader attribute.

Returns
true if the attribute was found; if not, r_value is also set to zero.

Definition at line 1942 of file object_dupli.cc.

References copy_v4_fl(), Object::data, find_geonode_attribute_rgba(), find_rna_property_rgba(), Object::id, ParticleSystem::part, and DupliObject::particle_system.

Referenced by drw_uniform_attribute_lookup(), and lookup_instance_property().

◆ BKE_view_layer_find_rgba_attribute()

bool BKE_view_layer_find_rgba_attribute ( const Scene * scene,
const ViewLayer * layer,
const char * name,
float r_value[4] )

Look up the RGBA value of a view layer/scene/world shader attribute.

Returns
true if the attribute was found; if not, r_value is also set to zero.

Definition at line 1983 of file object_dupli.cc.

References copy_v4_fl(), find_rna_property_rgba(), and RNA_pointer_create().

Referenced by drw_ensure_layer_attribute_buffer().

◆ free_object_duplilist()

◆ object_duplilist()

◆ object_duplilist_preview()