Blender  V3.3
Public Member Functions | Public Attributes | List of all members
ImageUsage Struct Reference

#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 voidlast_image = nullptr
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ImageUsage() [1/2]

ImageUsage::ImageUsage ( )
default

◆ ImageUsage() [2/2]

ImageUsage::ImageUsage ( const struct Image image,
const struct ImageUser image_user,
bool  do_tile_drawing 
)
inline

Member Function Documentation

◆ operator!=()

bool ImageUsage::operator!= ( const ImageUsage other) const
inline

Definition at line 45 of file image_usage.hh.

◆ operator==()

bool ImageUsage::operator== ( const ImageUsage other) const
inline

Definition at line 41 of file image_usage.hh.

Member Data Documentation

◆ alpha_mode

char ImageUsage::alpha_mode

IMA_ALPHA_*

Definition at line 24 of file image_usage.hh.

Referenced by ImageUsage().

◆ colorspace_settings

ColorManagedColorspaceSettings ImageUsage::colorspace_settings

Definition at line 22 of file image_usage.hh.

Referenced by ImageUsage().

◆ last_image

const void* ImageUsage::last_image = nullptr

Definition at line 27 of file image_usage.hh.

Referenced by ImageUsage().

◆ last_tile_drawing

bool ImageUsage::last_tile_drawing

Definition at line 25 of file image_usage.hh.

Referenced by ImageUsage().

◆ layer

short ImageUsage::layer = 0

Layer of the image that is used.

Definition at line 18 of file image_usage.hh.

Referenced by ImageUsage().

◆ pass

short ImageUsage::pass = 0

Render pass of the image that is used.

Definition at line 16 of file image_usage.hh.

Referenced by ImageUsage().

◆ view

short ImageUsage::view = 0

View of the image that is used.

Definition at line 20 of file image_usage.hh.

Referenced by ImageUsage().


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