Blender V4.3
FX_shader_pixel.cc File Reference
#include <cstdio>
#include "BLI_utildefines.h"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "BKE_screen.hh"
#include "DNA_screen_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_Pixel
 

Function Documentation

◆ copy_data()

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

Definition at line 35 of file FX_shader_pixel.cc.

References BKE_shaderfx_copydata_generic().

◆ init_data()

static void init_data ( ShaderFxData * fx)
static

◆ panel_draw()

◆ panel_register()

static void panel_register ( ARegionType * region_type)
static

Definition at line 60 of file FX_shader_pixel.cc.

References eShaderFxType_Pixel, panel_draw(), and shaderfx_panel_register().

Variable Documentation

◆ shaderfx_Type_Pixel

ShaderFxTypeInfo shaderfx_Type_Pixel
Initial value:
= {
N_("Pixelate"),
"PixelShaderFxData",
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
@ eShaderFxType_GpencilType
ShaderFxTypeFlag
struct PixelShaderFxData PixelShaderFxData
static void panel_register(ARegionType *region_type)
static void init_data(ShaderFxData *fx)
static void copy_data(const ShaderFxData *md, ShaderFxData *target)
#define N_(msgid)

Definition at line 65 of file FX_shader_pixel.cc.