Blender V4.3
Paint Struct Reference

#include <DNA_scene_types.h>

Public Attributes

struct Brushbrush
struct AssetWeakReferencebrush_asset_reference
struct Brusheraser_brush
struct AssetWeakReferenceeraser_brush_asset_reference
ToolSystemBrushBindings tool_brush_bindings
struct Palettepalette
struct CurveMappingcavity_curve
void * paint_cursor
unsigned char paint_cursor_col [4]
int flags
int num_input_samples_deprecated
int symmetry_flags
float tile_offset [3]
char _pad2 [4]
struct Paint_Runtime runtime

Detailed Description

Paint Tool Base.

Definition at line 961 of file DNA_scene_types.h.

Member Data Documentation

◆ _pad2

char Paint::_pad2[4]

Definition at line 1002 of file DNA_scene_types.h.

◆ brush

◆ brush_asset_reference

struct AssetWeakReference* Paint::brush_asset_reference

A weak asset reference to the brush, if not NULL. Used to attempt restoring the active brush from the AssetLibrary system, typically on file load.

Definition at line 973 of file DNA_scene_types.h.

Referenced by BKE_paint_blend_read_data(), BKE_paint_blend_write(), BKE_paint_brush_set(), BKE_paint_brush_set(), BKE_paint_brushes_ensure(), BKE_paint_copy(), BKE_paint_free(), paint_brush_set_essentials_reference(), paint_brush_update_from_asset_reference(), and toolsystem_brush_type_binding_update().

◆ cavity_curve

◆ eraser_brush

◆ eraser_brush_asset_reference

◆ flags

◆ num_input_samples_deprecated

int Paint::num_input_samples_deprecated

Paint stroke can use up to PAINT_MAX_INPUT_SAMPLES inputs to smooth the stroke. This value is deprecated. Refer to the Brush and #UnifiedPaintSetting values instead.

Definition at line 996 of file DNA_scene_types.h.

Referenced by blo_do_versions_400().

◆ paint_cursor

void* Paint::paint_cursor

WM Paint cursor.

Definition at line 986 of file DNA_scene_types.h.

Referenced by BKE_paint_blend_read_data(), ED_paint_cursor_start(), and toggle_paint_cursor().

◆ paint_cursor_col

unsigned char Paint::paint_cursor_col[4]

Definition at line 987 of file DNA_scene_types.h.

Referenced by BKE_paint_init().

◆ palette

◆ runtime

◆ symmetry_flags

◆ tile_offset

◆ tool_brush_bindings


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