Blender V4.3
idprop_create.cc File Reference
#include <type_traits>
#include "DNA_ID.h"
#include "BKE_idprop.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::bke
 
namespace  blender::bke::idprop
 

Functions

Create Functions
std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::create (StringRefNull prop_name, int32_t value, eIDPropertyFlag flags={})
 Allocate a new IDProperty of type IDP_INT, set its name and value.
 
std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::create_bool (StringRefNull prop_name, bool value, eIDPropertyFlag flags={})
 Allocate a new IDProperty of type IDP_BOOLEAN, set its name and value.
 
std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::create (StringRefNull prop_name, float value, eIDPropertyFlag flags={})
 Allocate a new IDProperty of type IDP_FLOAT, set its name and value.
 
std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::create (StringRefNull prop_name, double value, eIDPropertyFlag flags={})
 Allocate a new IDProperty of type IDP_DOUBLE, set its name and value.
 
std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::create (StringRefNull prop_name, const StringRefNull value, eIDPropertyFlag flags={})
 Allocate a new IDProperty of type IDP_STRING, set its name and value.
 
std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::create (StringRefNull prop_name, ID *value, eIDPropertyFlag flags={})
 Allocate a new IDProperty of type IDP_ID, set its name and value.
 
static std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::array_create (const StringRefNull prop_name, eIDPropertyType subtype, size_t array_len, const eIDPropertyFlag flags)
 
static void blender::bke::idprop::array_values_set (IDProperty *property, const void *values, size_t values_len, size_t value_size)
 
template<typename PrimitiveType , eIDPropertyType id_property_subtype>
std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::create_array (StringRefNull prop_name, Span< PrimitiveType > values, const eIDPropertyFlag flags)
 
std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::create (StringRefNull prop_name, Span< int32_t > values, eIDPropertyFlag flags={})
 Allocate a new IDProperty of type IDP_ARRAY and sub-type IDP_INT.
 
std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::create (StringRefNull prop_name, Span< float > values, eIDPropertyFlag flags={})
 Allocate a new IDProperty of type IDP_ARRAY and sub-type IDP_FLOAT.
 
std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::create (StringRefNull prop_name, Span< double > values, eIDPropertyFlag flags={})
 Allocate a new IDProperty of type IDP_ARRAY and sub-type IDP_DOUBLE.
 
std::unique_ptr< IDProperty, IDPropertyDeleterblender::bke::idprop::create_group (StringRefNull prop_name, eIDPropertyFlag flags={})
 Allocate a new IDProperty of type IDP_GROUP.