Blender
V3.3
|
#include <image_usage.hh>
Public Member Functions | |
ImageUsage ()=default | |
ImageUsage (const struct Image *image, const struct ImageUser *image_user, bool do_tile_drawing) | |
bool | operator== (const ImageUsage &other) const |
bool | operator!= (const ImageUsage &other) const |
Public Attributes | |
short | pass = 0 |
short | layer = 0 |
short | view = 0 |
ColorManagedColorspaceSettings | colorspace_settings |
char | alpha_mode |
bool | last_tile_drawing |
const void * | last_image = nullptr |
ImageUsage contains data of the image and image user to identify changes that require a rebuild the texture slots.
Definition at line 14 of file image_usage.hh.
|
default |
|
inline |
Definition at line 30 of file image_usage.hh.
References alpha_mode, colorspace_settings, image(), last_image, last_tile_drawing, layer, ImageUser::layer, ImageUser::multi_index, pass, ImageUser::pass, and view.
|
inline |
Definition at line 45 of file image_usage.hh.
|
inline |
Definition at line 41 of file image_usage.hh.
char ImageUsage::alpha_mode |
ColorManagedColorspaceSettings ImageUsage::colorspace_settings |
Definition at line 22 of file image_usage.hh.
Referenced by ImageUsage().
const void* ImageUsage::last_image = nullptr |
Definition at line 27 of file image_usage.hh.
Referenced by ImageUsage().
bool ImageUsage::last_tile_drawing |
Definition at line 25 of file image_usage.hh.
Referenced by ImageUsage().
short ImageUsage::layer = 0 |
Layer of the image that is used.
Definition at line 18 of file image_usage.hh.
Referenced by ImageUsage().
short ImageUsage::pass = 0 |
Render pass of the image that is used.
Definition at line 16 of file image_usage.hh.
Referenced by ImageUsage().
short ImageUsage::view = 0 |
View of the image that is used.
Definition at line 20 of file image_usage.hh.
Referenced by ImageUsage().