|
Blender V5.3
|
#include <BKE_attribute.hh>
Inherits blender::bke::AttributeInit.
Public Member Functions | |
| template<typename T> | |
| AttributeInitValue (const T &value) | |
| AttributeInitValue (const GPointer value) | |
| Public Member Functions inherited from blender::bke::AttributeInit | |
| AttributeInit (const Type type) | |
Public Attributes | |
| GPointer | value |
| Public Attributes inherited from blender::bke::AttributeInit | |
| Type | type |
Additional Inherited Members | |
| Public Types inherited from blender::bke::AttributeInit | |
| enum class | Type { Construct , Value , DefaultValue , VArray , Shared } |
Create attribute data with the given value, which must be the same as the specified type.
Definition at line 96 of file BKE_attribute.hh.
Definition at line 101 of file BKE_attribute.hh.
References blender::bke::AttributeInit::AttributeInit(), T, and value.
Referenced by blender::bke::greasepencil::Drawing::set_texture_matrices(), blender::bke::socket_value_visitor::tests::TEST_F(), blender::bke::try_add_single_value_attribute(), and blender::bke::try_assign_single_value().
|
inline |
Definition at line 104 of file BKE_attribute.hh.
References blender::bke::AttributeInit::AttributeInit(), and value.
| GPointer blender::bke::AttributeInitValue::value |
Definition at line 97 of file BKE_attribute.hh.
Referenced by AttributeInitValue(), and AttributeInitValue().