Blender V5.3
blender::bke::paint::TexSnapshot Struct Reference

#include <BKE_paint_types.hh>

Public Member Functions

 TexSnapshot ()=default
 ~TexSnapshot ()

Public Attributes

gpu::Texture * overlay_texture = nullptr
int winx = 0
int winy = 0
int old_size = 0
float old_zoom = 0.0f
bool old_col = false

Detailed Description

Definition at line 77 of file BKE_paint_types.hh.

Constructor & Destructor Documentation

◆ TexSnapshot()

blender::bke::paint::TexSnapshot::TexSnapshot ( )
default

References TexSnapshot().

Referenced by TexSnapshot().

◆ ~TexSnapshot()

blender::bke::paint::TexSnapshot::~TexSnapshot ( )

Definition at line 336 of file blenkernel/intern/paint.cc.

References blender::GPU_texture_free(), overlay_texture, and ~TexSnapshot().

Referenced by ~TexSnapshot().

Member Data Documentation

◆ old_col

bool blender::bke::paint::TexSnapshot::old_col = false

Definition at line 83 of file BKE_paint_types.hh.

Referenced by blender::ed::sculpt_paint::load_tex().

◆ old_size

int blender::bke::paint::TexSnapshot::old_size = 0

Definition at line 81 of file BKE_paint_types.hh.

Referenced by blender::ed::sculpt_paint::load_tex().

◆ old_zoom

float blender::bke::paint::TexSnapshot::old_zoom = 0.0f

Definition at line 82 of file BKE_paint_types.hh.

◆ overlay_texture

gpu::Texture* blender::bke::paint::TexSnapshot::overlay_texture = nullptr

Definition at line 78 of file BKE_paint_types.hh.

Referenced by blender::ed::sculpt_paint::load_tex(), and ~TexSnapshot().

◆ winx

int blender::bke::paint::TexSnapshot::winx = 0

Definition at line 79 of file BKE_paint_types.hh.

◆ winy

int blender::bke::paint::TexSnapshot::winy = 0

Definition at line 80 of file BKE_paint_types.hh.


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