Blender  V3.3
Namespaces | Enumerations | Functions
geometry_attributes.cc File Reference
#include "MEM_guardedalloc.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_scene_types.h"
#include "BKE_attribute.h"
#include "BKE_context.h"
#include "BKE_deform.h"
#include "BKE_geometry_set.hh"
#include "BKE_lib_id.h"
#include "BKE_mesh.h"
#include "BKE_object_deform.h"
#include "BKE_paint.h"
#include "BKE_report.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "ED_geometry.h"
#include "ED_object.h"
#include "geometry_intern.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::ed
 
 blender::ed::geometry
 

Enumerations

enum class  blender::ed::geometry::ConvertAttributeMode { blender::ed::geometry::Generic , blender::ed::geometry::UVMap , blender::ed::geometry::VertexGroup }
 

Functions

static bool blender::ed::geometry::geometry_attributes_poll (bContext *C)
 
static bool blender::ed::geometry::geometry_attributes_remove_poll (bContext *C)
 
static const EnumPropertyItemblender::ed::geometry::geometry_attribute_domain_itemf (bContext *C, PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), bool *r_free)
 
static int blender::ed::geometry::geometry_attribute_add_exec (bContext *C, wmOperator *op)
 
static void blender::ed::geometry::next_color_attribute (ID *id, CustomDataLayer *layer, bool is_render)
 
static void blender::ed::geometry::next_color_attributes (ID *id, CustomDataLayer *layer)
 
void blender::ed::geometry::GEOMETRY_OT_attribute_add (wmOperatorType *ot)
 
static int blender::ed::geometry::geometry_attribute_remove_exec (bContext *C, wmOperator *op)
 
void blender::ed::geometry::GEOMETRY_OT_attribute_remove (wmOperatorType *ot)
 
static int blender::ed::geometry::geometry_color_attribute_add_exec (bContext *C, wmOperator *op)
 
static bool blender::ed::geometry::geometry_attribute_convert_poll (bContext *C)
 
static int blender::ed::geometry::geometry_attribute_convert_exec (bContext *C, wmOperator *op)
 
static void blender::ed::geometry::geometry_color_attribute_add_ui (bContext *UNUSED(C), wmOperator *op)
 
void blender::ed::geometry::GEOMETRY_OT_color_attribute_add (wmOperatorType *ot)
 
static int blender::ed::geometry::geometry_color_attribute_set_render_exec (bContext *C, wmOperator *op)
 
void blender::ed::geometry::GEOMETRY_OT_color_attribute_render_set (wmOperatorType *ot)
 
static int blender::ed::geometry::geometry_color_attribute_remove_exec (bContext *C, wmOperator *op)
 
static bool blender::ed::geometry::geometry_color_attributes_remove_poll (bContext *C)
 
void blender::ed::geometry::GEOMETRY_OT_color_attribute_remove (wmOperatorType *ot)
 
static int blender::ed::geometry::geometry_color_attribute_duplicate_exec (bContext *C, wmOperator *op)
 
static bool blender::ed::geometry::geometry_color_attributes_duplicate_poll (bContext *C)
 
void blender::ed::geometry::GEOMETRY_OT_color_attribute_duplicate (wmOperatorType *ot)
 
static void blender::ed::geometry::geometry_attribute_convert_ui (bContext *UNUSED(C), wmOperator *op)
 
static int blender::ed::geometry::geometry_attribute_convert_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 
void blender::ed::geometry::GEOMETRY_OT_attribute_convert (wmOperatorType *ot)
 
bool ED_geometry_attribute_convert (Mesh *mesh, const char *layer_name, eCustomDataType old_type, eAttrDomain old_domain, eCustomDataType new_type, eAttrDomain new_domain)
 

Function Documentation

◆ ED_geometry_attribute_convert()

bool ED_geometry_attribute_convert ( Mesh mesh,
const char *  layer_name,
eCustomDataType  old_type,
eAttrDomain  old_domain,
eCustomDataType  new_type,
eAttrDomain  new_domain 
)