|
Blender V4.3
|
#include <cstdio>#include "BKE_context.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.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) |
Variables | |
| ShaderFxTypeInfo | shaderfx_Type_Colorize |
|
static |
Definition at line 38 of file FX_shader_colorize.cc.
References BKE_shaderfx_copydata_generic().
|
static |
Definition at line 29 of file FX_shader_colorize.cc.
References ARRAY_SET_ITEMS, eShaderFxColorizeMode_GrayScale, ColorizeShaderFxData::factor, ColorizeShaderFxData::high_color, ColorizeShaderFxData::low_color, and ColorizeShaderFxData::mode.
Definition at line 43 of file FX_shader_colorize.cc.
References ELEM, eShaderFxColorizeMode_Custom, eShaderFxColorizeMode_Duotone, IFACE_, Panel::layout, ptr, RNA_enum_get(), shaderfx_panel_end(), shaderfx_panel_get_property_pointers(), UI_ITEM_NONE, uiItemR(), and uiLayoutSetPropSep().
Referenced by panel_register().
|
static |
Definition at line 69 of file FX_shader_colorize.cc.
References eShaderFxType_Colorize, panel_draw(), and shaderfx_panel_register().
| ShaderFxTypeInfo shaderfx_Type_Colorize |
Definition at line 74 of file FX_shader_colorize.cc.