Blender V5.0
blender::draw::gpencil::ShaderCache Class Reference

#include <gpencil_shader.hh>

Static Public Member Functions

static ShaderCacheget ()
static void release ()

Public Attributes

StaticShader antialiasing [3]
StaticShader accumulation = {"gpencil_antialiasing_accumulation"}
StaticShader geometry = {"gpencil_geometry"}
StaticShader layer_blend = {"gpencil_layer_blend"}
StaticShader depth_merge = {"gpencil_depth_merge"}
StaticShader mask_invert = {"gpencil_mask_invert"}
StaticShader fx_composite = {"gpencil_fx_composite"}
StaticShader fx_colorize = {"gpencil_fx_colorize"}
StaticShader fx_blur = {"gpencil_fx_blur"}
StaticShader fx_glow = {"gpencil_fx_glow"}
StaticShader fx_pixelize = {"gpencil_fx_pixelize"}
StaticShader fx_rim = {"gpencil_fx_rim"}
StaticShader fx_shadow = {"gpencil_fx_shadow"}
StaticShader fx_transform = {"gpencil_fx_transform"}

Detailed Description

Definition at line 17 of file gpencil_shader.hh.

Member Function Documentation

◆ get()

ShaderCache & blender::draw::gpencil::ShaderCache::get ( )
inlinestatic

◆ release()

void blender::draw::gpencil::ShaderCache::release ( )
inlinestatic

Definition at line 30 of file gpencil_shader.hh.

Referenced by blender::draw::gpencil::Engine::free_static().

Member Data Documentation

◆ accumulation

StaticShader blender::draw::gpencil::ShaderCache::accumulation = {"gpencil_antialiasing_accumulation"}

Definition at line 40 of file gpencil_shader.hh.

◆ antialiasing

StaticShader blender::draw::gpencil::ShaderCache::antialiasing[3]
Initial value:
= {{"gpencil_antialiasing_stage_0"},
{"gpencil_antialiasing_stage_1"},
{"gpencil_antialiasing_stage_2"}}

Definition at line 36 of file gpencil_shader.hh.

◆ depth_merge

StaticShader blender::draw::gpencil::ShaderCache::depth_merge = {"gpencil_depth_merge"}

Definition at line 46 of file gpencil_shader.hh.

◆ fx_blur

StaticShader blender::draw::gpencil::ShaderCache::fx_blur = {"gpencil_fx_blur"}

Definition at line 52 of file gpencil_shader.hh.

◆ fx_colorize

StaticShader blender::draw::gpencil::ShaderCache::fx_colorize = {"gpencil_fx_colorize"}

Definition at line 51 of file gpencil_shader.hh.

◆ fx_composite

StaticShader blender::draw::gpencil::ShaderCache::fx_composite = {"gpencil_fx_composite"}

Definition at line 50 of file gpencil_shader.hh.

◆ fx_glow

StaticShader blender::draw::gpencil::ShaderCache::fx_glow = {"gpencil_fx_glow"}

Definition at line 53 of file gpencil_shader.hh.

◆ fx_pixelize

StaticShader blender::draw::gpencil::ShaderCache::fx_pixelize = {"gpencil_fx_pixelize"}

Definition at line 54 of file gpencil_shader.hh.

◆ fx_rim

StaticShader blender::draw::gpencil::ShaderCache::fx_rim = {"gpencil_fx_rim"}

Definition at line 55 of file gpencil_shader.hh.

◆ fx_shadow

StaticShader blender::draw::gpencil::ShaderCache::fx_shadow = {"gpencil_fx_shadow"}

Definition at line 56 of file gpencil_shader.hh.

◆ fx_transform

StaticShader blender::draw::gpencil::ShaderCache::fx_transform = {"gpencil_fx_transform"}

Definition at line 57 of file gpencil_shader.hh.

◆ geometry

StaticShader blender::draw::gpencil::ShaderCache::geometry = {"gpencil_geometry"}

Definition at line 42 of file gpencil_shader.hh.

◆ layer_blend

StaticShader blender::draw::gpencil::ShaderCache::layer_blend = {"gpencil_layer_blend"}

Definition at line 44 of file gpencil_shader.hh.

◆ mask_invert

StaticShader blender::draw::gpencil::ShaderCache::mask_invert = {"gpencil_mask_invert"}

Definition at line 48 of file gpencil_shader.hh.


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