Blender V5.0
interface_template_shader_fx.cc File Reference
#include "BLI_listbase.h"
#include "BKE_screen.hh"
#include "BKE_shader_fx.h"
#include "ED_object.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "UI_interface.hh"
#include "UI_interface_layout.hh"

Go to the source code of this file.

Functions

static void shaderfx_panel_id (void *fx_v, char *r_idname)
void uiTemplateShaderFx (uiLayout *, bContext *C)

Detailed Description

Template for building the panel layout for the active object's grease pencil shader effects.

Definition in file interface_template_shader_fx.cc.

Function Documentation

◆ shaderfx_panel_id()

void shaderfx_panel_id ( void * fx_v,
char * r_idname )
static

Function with void * argument for uiListPanelIDFromDataFunc.

Definition at line 27 of file interface_template_shader_fx.cc.

References BKE_shaderfxType_panel_id(), and ShaderFxData::type.

Referenced by uiTemplateShaderFx().

◆ uiTemplateShaderFx()