Blender V5.3
blender::seq::MaskSamplerDirectFloat Struct Reference

#include <modifier.hh>

Public Member Functions

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

Public Attributes

const float * ptr = nullptr
const ImBuf * mask

Detailed Description

Definition at line 111 of file modifier.hh.

Constructor & Destructor Documentation

◆ MaskSamplerDirectFloat()

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

Definition at line 112 of file modifier.hh.

References blender::BLI_assert(), and mask.

Member Function Documentation

◆ apply_mask()

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

Definition at line 121 of file modifier.hh.

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

◆ begin_row()

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

◆ load_mask_min()

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

Definition at line 129 of file modifier.hh.

References ptr.

Member Data Documentation

◆ mask

const ImBuf* blender::seq::MaskSamplerDirectFloat::mask

Definition at line 136 of file modifier.hh.

Referenced by begin_row(), and MaskSamplerDirectFloat().

◆ ptr

const float* blender::seq::MaskSamplerDirectFloat::ptr = nullptr

Definition at line 135 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: