Blender V5.3
blender::TexPaintSlot Struct Reference

#include <DNA_material_types.h>

Public Attributes

struct Image * ima = nullptr
struct ImageUser * image_user = nullptr
char * uvname = nullptr
char * attribute_name = nullptr
int valid = 0
int interp = 0

Detailed Description

Definition at line 260 of file DNA_material_types.h.

Member Data Documentation

◆ attribute_name

char* blender::TexPaintSlot::attribute_name = nullptr

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

Definition at line 276 of file DNA_material_types.h.

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

◆ ima

◆ image_user

struct ImageUser* blender::TexPaintSlot::image_user = nullptr

◆ interp

int blender::TexPaintSlot::interp = 0

Copy of node interpolation setting.

Definition at line 280 of file DNA_material_types.h.

Referenced by blender::fill_texpaint_slots_cb().

◆ uvname

◆ valid

int blender::TexPaintSlot::valid = 0

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

Definition at line 278 of file DNA_material_types.h.

Referenced by blender::fill_texpaint_slots_cb().


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