Blender V5.0
blender::seq::MaskSamplerDirectByte Struct Reference

#include <modifier.hh>

Public Member Functions

 MaskSamplerDirectByte (const ImBuf *mask)
void begin_row (int64_t y)
void apply_mask (const float4 input, float4 &result)
float load_mask_min ()

Public Attributes

const ucharptr = nullptr
const ImBufmask

Detailed Description

Definition at line 127 of file modifier.hh.

Constructor & Destructor Documentation

◆ MaskSamplerDirectByte()

blender::seq::MaskSamplerDirectByte::MaskSamplerDirectByte ( const ImBuf * mask)
inline

Definition at line 128 of file modifier.hh.

References BLI_assert, and mask.

Member Function Documentation

◆ apply_mask()

void blender::seq::MaskSamplerDirectByte::apply_mask ( const float4 input,
float4 & result )
inline

Definition at line 137 of file modifier.hh.

References input, blender::math::interpolate(), ptr, result, and rgb_uchar_to_float().

◆ begin_row()

void blender::seq::MaskSamplerDirectByte::begin_row ( int64_t y)
inline

Definition at line 132 of file modifier.hh.

References BLI_assert, mask, ptr, and y.

◆ load_mask_min()

float blender::seq::MaskSamplerDirectByte::load_mask_min ( )
inline

Definition at line 146 of file modifier.hh.

References float, min_iii(), and ptr.

Member Data Documentation

◆ mask

const ImBuf* blender::seq::MaskSamplerDirectByte::mask

Definition at line 153 of file modifier.hh.

Referenced by begin_row(), and MaskSamplerDirectByte().

◆ ptr

const uchar* blender::seq::MaskSamplerDirectByte::ptr = nullptr

Definition at line 152 of file modifier.hh.

Referenced by apply_mask(), begin_row(), and load_mask_min().


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