Blender V5.0
TexPaintSlot Struct Reference

#include <DNA_material_types.h>

Public Attributes

struct Imageima
struct ImageUserimage_user
char * uvname
char * attribute_name
int valid
int interp

Detailed Description

Definition at line 25 of file DNA_material_types.h.

Member Data Documentation

◆ attribute_name

char* TexPaintSlot::attribute_name

Color attribute name when painting using color attributes. Mutual exclusive with ima. Points to the name of a CustomDataLayer.

Definition at line 41 of file DNA_material_types.h.

Referenced by ED_paint_shading_color_override(), fill_texpaint_slots_cb(), and texpaint_slot_node_find_cb().

◆ ima

◆ image_user

struct ImageUser* TexPaintSlot::image_user

Definition at line 30 of file DNA_material_types.h.

Referenced by BKE_paint_canvas_image_get(), and fill_texpaint_slots_cb().

◆ interp

int TexPaintSlot::interp

Copy of node interpolation setting.

Definition at line 45 of file DNA_material_types.h.

Referenced by fill_texpaint_slots_cb(), and paint_sample_color().

◆ uvname

char* TexPaintSlot::uvname

◆ valid

int TexPaintSlot::valid

Do we have a valid image and UV map or attribute.

Definition at line 43 of file DNA_material_types.h.

Referenced by fill_texpaint_slots_cb().


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