Blender V4.5
VPaintData Struct Reference

Inherits blender::ed::sculpt_paint::PaintModeData.

Classes

struct  [struct].smear

Public Member Functions

 ~VPaintData () override
Public Member Functions inherited from blender::ed::sculpt_paint::PaintModeData
virtual ~PaintModeData ()=default

Public Attributes

ViewContext vc
AttrDomain domain
eCustomDataType type
NormalAnglePrecalc normal_angle_precalc
ColorPaint4f paintcol
VertProjHandlevp_handle
Span< float3vert_positions
Span< float3vert_normals
bool is_texbrush
struct  smear
GArray prev_colors
GArray stroke_buffer

Detailed Description

Definition at line 944 of file paint_vertex.cc.

Constructor & Destructor Documentation

◆ ~VPaintData()

VPaintData::~VPaintData ( )
inlineoverride

Definition at line 973 of file paint_vertex.cc.

References ED_vpaint_proj_handle_free(), and vp_handle.

Member Data Documentation

◆ domain

◆ is_texbrush

bool VPaintData::is_texbrush

Definition at line 961 of file paint_vertex.cc.

◆ normal_angle_precalc

NormalAnglePrecalc VPaintData::normal_angle_precalc

◆ paintcol

ColorPaint4f VPaintData::paintcol

◆ prev_colors

GArray VPaintData::prev_colors

◆ smear

◆ stroke_buffer

GArray VPaintData::stroke_buffer

Definition at line 971 of file paint_vertex.cc.

Referenced by vpaint_do_draw().

◆ type

◆ vc

◆ vert_normals

Span<float3> VPaintData::vert_normals

Definition at line 959 of file paint_vertex.cc.

◆ vert_positions

Span<float3> VPaintData::vert_positions

Owned by vp_handle.

Todo
Look into replacing this with just using the evaluated/deform positions.

Definition at line 958 of file paint_vertex.cc.

◆ vp_handle

VertProjHandle* VPaintData::vp_handle

Definition at line 953 of file paint_vertex.cc.

Referenced by ~VPaintData().


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