Blender V5.3
blender::ImagePaintSettings Struct Reference

#include <DNA_scene_types.h>

Public Attributes

Paint paint
eImagePaint_Flag flag = {}
eImagePaint_MissingData missing_data = {}
short seam_bleed = 2
short normal_angle = 80
short screen_grab_size [2] = {}
int mode = 0
struct Image * stencil = nullptr
struct Image * clone = nullptr
struct Image * canvas = nullptr
float stencil_col [3] = {}
float dither = 0
eImagePaint_Interpolation interp = IMAGEPAINT_INTERP_LINEAR
char _pad [4] = {}
float clone_offset [2] = {}
float clone_alpha = 0.5f
char _pad2 [4] = {}

Detailed Description

Texture/Image Editor.

Definition at line 1318 of file DNA_scene_types.h.

Member Data Documentation

◆ _pad

char blender::ImagePaintSettings::_pad[4] = {}

Definition at line 1343 of file DNA_scene_types.h.

◆ _pad2

char blender::ImagePaintSettings::_pad2[4] = {}

Definition at line 1348 of file DNA_scene_types.h.

◆ canvas

◆ clone

◆ clone_alpha

float blender::ImagePaintSettings::clone_alpha = 0.5f

Transparency for drawing of clone image in Image editor.

Definition at line 1347 of file DNA_scene_types.h.

Referenced by blender::blo_do_versions_404(), and blender::draw::overlay::MeshUVs::end_sync().

◆ clone_offset

float blender::ImagePaintSettings::clone_offset[2] = {}

◆ dither

float blender::ImagePaintSettings::dither = 0

Dither amount used when painting on byte images.

Definition at line 1340 of file DNA_scene_types.h.

Referenced by blender::project_state_init().

◆ flag

◆ interp

eImagePaint_Interpolation blender::ImagePaintSettings::interp = IMAGEPAINT_INTERP_LINEAR

Display texture interpolation method.

Definition at line 1342 of file DNA_scene_types.h.

Referenced by blender::workbench::ObjectState::ObjectState(), and blender::ed::sculpt_paint::sample_texture_paint_color().

◆ missing_data

eImagePaint_MissingData blender::ImagePaintSettings::missing_data = {}

Definition at line 1322 of file DNA_scene_types.h.

Referenced by blender::ED_paint_proj_mesh_data_check().

◆ mode

◆ normal_angle

short blender::ImagePaintSettings::normal_angle = 80

◆ paint

◆ screen_grab_size

short blender::ImagePaintSettings::screen_grab_size[2] = {}

Capture size for re-projection.

Definition at line 1327 of file DNA_scene_types.h.

Referenced by blender::texture_paint_image_from_view_exec().

◆ seam_bleed

short blender::ImagePaintSettings::seam_bleed = 2

For projection painting only.

Definition at line 1325 of file DNA_scene_types.h.

Referenced by blender::blo_do_versions_pre250(), and blender::project_state_init().

◆ stencil

◆ stencil_col

float blender::ImagePaintSettings::stencil_col[3] = {}

Definition at line 1338 of file DNA_scene_types.h.

Referenced by blender::draw::overlay::Paints::begin_sync().


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