Blender V5.3
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 uchar * ptr = nullptr
const ImBuf * mask

Detailed Description

Definition at line 141 of file modifier.hh.

Constructor & Destructor Documentation

◆ MaskSamplerDirectByte()

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

Definition at line 142 of file modifier.hh.

References blender::BLI_assert(), and mask.

Member Function Documentation

◆ apply_mask()

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

◆ begin_row()

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

Definition at line 146 of file modifier.hh.

References blender::BLI_assert(), blender::ImBuf::byte_data(), mask, ptr, blender::ImBuf::x, and y.

◆ load_mask_min()

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

Definition at line 160 of file modifier.hh.

References float, and ptr.

Member Data Documentation

◆ mask

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

Definition at line 167 of file modifier.hh.

Referenced by begin_row(), and MaskSamplerDirectByte().

◆ ptr

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

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