Blender V4.5
ShaderFxTypeInfo Struct Reference

#include <BKE_shader_fx.h>

Public Attributes

char name [32]
char struct_name [32]
int struct_size
ShaderFxTypeType type
ShaderFxTypeFlag flags
void(*) copy_data (const struct ShaderFxData *fx, struct ShaderFxData *target)
void(*) init_data (struct ShaderFxData *fx)
void(*) free_data (struct ShaderFxData *fx)
bool(*) is_disabled (struct ShaderFxData *fx, bool use_render_params)
void(*) update_depsgraph (struct ShaderFxData *fx, const struct ModifierUpdateDepsgraphContext *ctx)
bool(*) depends_on_time (struct ShaderFxData *fx)
void(*) foreach_ID_link (struct ShaderFxData *fx, struct Object *ob, ShaderFxIDWalkFunc walk, void *user_data)
void(*) panel_register (struct ARegionType *region_type)

Detailed Description

Definition at line 61 of file BKE_shader_fx.h.

Member Data Documentation

◆ copy_data

void(*) ShaderFxTypeInfo::copy_data(const struct ShaderFxData *fx, struct ShaderFxData *target)

Definition at line 79 of file BKE_shader_fx.h.

Referenced by BKE_shaderfx_copydata_ex().

◆ depends_on_time

bool(*) ShaderFxTypeInfo::depends_on_time(struct ShaderFxData *fx)

Definition at line 117 of file BKE_shader_fx.h.

Referenced by BKE_shaderfx_depends_ontime().

◆ flags

◆ foreach_ID_link

void(*) ShaderFxTypeInfo::foreach_ID_link(struct ShaderFxData *fx, struct Object *ob, ShaderFxIDWalkFunc walk, void *user_data)

◆ free_data

void(*) ShaderFxTypeInfo::free_data(struct ShaderFxData *fx)

Definition at line 93 of file BKE_shader_fx.h.

Referenced by BKE_shaderfx_copydata_generic(), and BKE_shaderfx_free_ex().

◆ init_data

void(*) ShaderFxTypeInfo::init_data(struct ShaderFxData *fx)

Definition at line 86 of file BKE_shader_fx.h.

Referenced by BKE_shaderfx_new().

◆ is_disabled

bool(*) ShaderFxTypeInfo::is_disabled(struct ShaderFxData *fx, bool use_render_params)

Definition at line 103 of file BKE_shader_fx.h.

Referenced by shaderfx_panel_header().

◆ name

char ShaderFxTypeInfo::name[32]

◆ panel_register

void(*) ShaderFxTypeInfo::panel_register(struct ARegionType *region_type)

Definition at line 132 of file BKE_shader_fx.h.

Referenced by ED_spacetype_buttons(), and uiTemplateShaderFx().

◆ struct_name

char ShaderFxTypeInfo::struct_name[32]

Definition at line 68 of file BKE_shader_fx.h.

Referenced by BKE_shaderfx_blend_write(), and BKE_shaderfx_new().

◆ struct_size

int ShaderFxTypeInfo::struct_size

Definition at line 71 of file BKE_shader_fx.h.

Referenced by BKE_shaderfx_copydata_generic(), and BKE_shaderfx_new().

◆ type

ShaderFxTypeType ShaderFxTypeInfo::type

Definition at line 73 of file BKE_shader_fx.h.

Referenced by BKE_shaderfx_has_gpencil().

◆ update_depsgraph

void(*) ShaderFxTypeInfo::update_depsgraph(struct ShaderFxData *fx, const struct ModifierUpdateDepsgraphContext *ctx)

The documentation for this struct was generated from the following file: