Blender  V3.3
Public Member Functions | List of all members
blender::imbuf::transform::BaseDiscard Class Referenceabstract

Base class for source discarding. More...

Inheritance diagram for blender::imbuf::transform::BaseDiscard:
blender::imbuf::transform::CropSource blender::imbuf::transform::NoDiscard

Public Member Functions

virtual ~BaseDiscard ()=default
 
virtual bool should_discard (const TransformUserData &user_data, const float uv[2])=0
 Should the source pixel at the given uv coordinate be discarded. More...
 

Detailed Description

Base class for source discarding.

The class decides if a specific uv coordinate from the source buffer should be ignored. This is used to mix multiple images over a single output buffer. Discarded pixels will not change the output buffer.

Definition at line 100 of file transform.cc.

Constructor & Destructor Documentation

◆ ~BaseDiscard()

virtual blender::imbuf::transform::BaseDiscard::~BaseDiscard ( )
virtualdefault

Member Function Documentation

◆ should_discard()

virtual bool blender::imbuf::transform::BaseDiscard::should_discard ( const TransformUserData user_data,
const float  uv[2] 
)
pure virtual

Should the source pixel at the given uv coordinate be discarded.

Implemented in blender::imbuf::transform::CropSource.


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