Blender V4.5
imageprocess.cc File Reference
#include "BLI_math_vector.h"
#include "BLI_task.hh"
#include "IMB_imbuf.hh"
#include "IMB_imbuf_types.hh"

Go to the source code of this file.

Functions

Alpha-under
void IMB_alpha_under_color_float (float *rect_float, int x, int y, float backcol[3])
 
void IMB_alpha_under_color_byte (uchar *rect, int x, int y, const float backcol[3])
 

Function Documentation

◆ IMB_alpha_under_color_byte()

void IMB_alpha_under_color_byte ( uchar * rect,
int x,
int y,
const float backcol[3] )

Definition at line 34 of file imageprocess.cc.

References blender::IndexRange::first(), mul(), x, and y.

Referenced by IMB_colormanagement_imbuf_for_write().

◆ IMB_alpha_under_color_float()

void IMB_alpha_under_color_float ( float * rect_float,
int x,
int y,
float backcol[3] )

Definition at line 20 of file imageprocess.cc.

References blender::IndexRange::first(), madd_v3_v3fl(), mul(), x, and y.

Referenced by IMB_colormanagement_imbuf_for_write().