Blender  V3.3
Public Attributes | List of all members
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 29 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 42 of file DNA_material_types.h.

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

◆ ima

struct Image* TexPaintSlot::ima

◆ image_user

struct ImageUser* TexPaintSlot::image_user

Definition at line 34 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 46 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 44 of file DNA_material_types.h.

Referenced by fill_texpaint_slots_cb().


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