Blender  V3.3
Classes | Typedefs | Functions
gpencil_shader_fx.c File Reference
#include "DNA_camera_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_shader_fx_types.h"
#include "DNA_view3d_types.h"
#include "BKE_gpencil.h"
#include "BLI_link_utils.h"
#include "BLI_memblock.h"
#include "DRW_render.h"
#include "BKE_camera.h"
#include "gpencil_engine.h"

Go to the source code of this file.

Classes

struct  gpIterVfxData
 

Typedefs

typedef struct gpIterVfxData gpIterVfxData
 

Functions

static bool effect_is_active (bGPdata *gpd, ShaderFxData *fx, bool is_viewport)
 
static DRWShadingGroupgpencil_vfx_pass_create (const char *name, DRWState state, gpIterVfxData *iter, GPUShader *sh)
 
static void gpencil_vfx_blur (BlurShaderFxData *fx, Object *ob, gpIterVfxData *iter)
 
static void gpencil_vfx_colorize (ColorizeShaderFxData *fx, Object *UNUSED(ob), gpIterVfxData *iter)
 
static void gpencil_vfx_flip (FlipShaderFxData *fx, Object *UNUSED(ob), gpIterVfxData *iter)
 
static void gpencil_vfx_rim (RimShaderFxData *fx, Object *ob, gpIterVfxData *iter)
 
static void gpencil_vfx_pixelize (PixelShaderFxData *fx, Object *ob, gpIterVfxData *iter)
 
static void gpencil_vfx_shadow (ShadowShaderFxData *fx, Object *ob, gpIterVfxData *iter)
 
static void gpencil_vfx_glow (GlowShaderFxData *fx, Object *UNUSED(ob), gpIterVfxData *iter)
 
static void gpencil_vfx_wave (WaveShaderFxData *fx, Object *ob, gpIterVfxData *iter)
 
static void gpencil_vfx_swirl (SwirlShaderFxData *fx, Object *UNUSED(ob), gpIterVfxData *iter)
 
void gpencil_vfx_cache_populate (GPENCIL_Data *vedata, Object *ob, GPENCIL_tObject *tgp_ob)
 

Typedef Documentation

◆ gpIterVfxData

typedef struct gpIterVfxData gpIterVfxData

Function Documentation

◆ effect_is_active()

static bool effect_is_active ( bGPdata gpd,
ShaderFxData fx,
bool  is_viewport 
)
static

◆ gpencil_vfx_blur()

static void gpencil_vfx_blur ( BlurShaderFxData fx,
Object ob,
gpIterVfxData iter 
)
static

◆ gpencil_vfx_cache_populate()

void gpencil_vfx_cache_populate ( GPENCIL_Data vedata,
Object ob,
GPENCIL_tObject tgp_ob 
)

◆ gpencil_vfx_colorize()

static void gpencil_vfx_colorize ( ColorizeShaderFxData fx,
Object UNUSEDob,
gpIterVfxData iter 
)
static

◆ gpencil_vfx_flip()

static void gpencil_vfx_flip ( FlipShaderFxData fx,
Object UNUSEDob,
gpIterVfxData iter 
)
static

◆ gpencil_vfx_glow()

static void gpencil_vfx_glow ( GlowShaderFxData fx,
Object UNUSEDob,
gpIterVfxData iter 
)
static

◆ gpencil_vfx_pass_create()

static DRWShadingGroup* gpencil_vfx_pass_create ( const char *  name,
DRWState  state,
gpIterVfxData iter,
GPUShader sh 
)
static

◆ gpencil_vfx_pixelize()

static void gpencil_vfx_pixelize ( PixelShaderFxData fx,
Object ob,
gpIterVfxData iter 
)
static

◆ gpencil_vfx_rim()

static void gpencil_vfx_rim ( RimShaderFxData fx,
Object ob,
gpIterVfxData iter 
)
static

◆ gpencil_vfx_shadow()

static void gpencil_vfx_shadow ( ShadowShaderFxData fx,
Object ob,
gpIterVfxData iter 
)
static

◆ gpencil_vfx_swirl()

static void gpencil_vfx_swirl ( SwirlShaderFxData fx,
Object UNUSEDob,
gpIterVfxData iter 
)
static

◆ gpencil_vfx_wave()

static void gpencil_vfx_wave ( WaveShaderFxData fx,
Object ob,
gpIterVfxData iter 
)
static