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

Crop uv-coordinates that are outside the user data src_crop rect. More...

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

Public Member Functions

bool should_discard (const TransformUserData &user_data, const float uv[2]) override
 Should the source pixel at the given uv coordinate be discarded. More...
 
- Public Member Functions inherited from blender::imbuf::transform::BaseDiscard
virtual ~BaseDiscard ()=default
 

Detailed Description

Crop uv-coordinates that are outside the user data src_crop rect.

Definition at line 113 of file transform.cc.

Member Function Documentation

◆ should_discard()

bool blender::imbuf::transform::CropSource::should_discard ( const TransformUserData user_data,
const float  uv[2] 
)
inlineoverridevirtual

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

Uses user_data.src_crop to determine if the uv coordinate should be skipped.

Implements blender::imbuf::transform::BaseDiscard.

Definition at line 120 of file transform.cc.

References user_data.


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