Blender V5.0
FX_shader_colorize.cc File Reference
#include "BKE_context.hh"
#include "BKE_idtype.hh"
#include "BKE_screen.hh"
#include "BLI_utildefines.h"
#include "BLT_translation.hh"
#include "DNA_screen_types.h"
#include "DNA_shader_fx_types.h"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "RNA_access.hh"
#include "FX_shader_types.h"
#include "FX_ui_common.h"

Go to the source code of this file.

Functions

static void init_data (ShaderFxData *fx)
static void copy_data (const ShaderFxData *md, ShaderFxData *target)
static void panel_draw (const bContext *, Panel *panel)
static void panel_register (ARegionType *region_type)
static void foreach_working_space_color (ShaderFxData *fx, const IDTypeForeachColorFunctionCallback &fn)

Variables

ShaderFxTypeInfo shaderfx_Type_Colorize

Function Documentation

◆ copy_data()

void copy_data ( const ShaderFxData * md,
ShaderFxData * target )
static

Definition at line 37 of file FX_shader_colorize.cc.

References BKE_shaderfx_copydata_generic().

◆ foreach_working_space_color()

void foreach_working_space_color ( ShaderFxData * fx,
const IDTypeForeachColorFunctionCallback & fn )
static

◆ init_data()

◆ panel_draw()

◆ panel_register()

void panel_register ( ARegionType * region_type)
static

Variable Documentation

◆ shaderfx_Type_Colorize

ShaderFxTypeInfo shaderfx_Type_Colorize
Initial value:
= {
N_("Colorize"),
"ColorizeShaderFxData",
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
@ eShaderFxType_GpencilType
ShaderFxTypeFlag
static void foreach_working_space_color(ShaderFxData *fx, const IDTypeForeachColorFunctionCallback &fn)
static void init_data(ModifierData *md)
static void panel_register(ARegionType *region_type)
static void copy_data(const ModifierData *md, ModifierData *target, const int flag)
#define N_(msgid)

Definition at line 81 of file FX_shader_colorize.cc.