Blender  V3.3
workbench_effect_antialiasing_info.hh File Reference
#include "gpu_shader_create_info.hh"

Go to the source code of this file.

Functions

SMAA
smooth(Type::VEC2, "uvs") .smooth(Type define ("SMAA_GLSL_3") .define("SMAA_RT_METRICS"
 
smooth(Type::VEC2, "uvs") .smooth(Type viewportMetrics define ("SMAA_PRESET_HIGH") .define("SMAA_LUMA_WEIGHT"
 
smooth(Type::VEC2, "uvs") .smooth(Type viewportMetrics float4(1.0, 1.0, 1.0, 1.0)") .define("SMAA_NO_DISCARD") .vertex_out(workbench_smaa_iface) .push_constant(Type define ("SMAA_STAGE", "0") .sampler(0
 
smooth(Type::VEC2, "uvs") .smooth(Type viewportMetrics float4(1.0, 1.0, 1.0, 1.0)") .define("SMAA_NO_DISCARD") .vertex_out(workbench_smaa_iface) .push_constant(Type colorTex fragment_out (0, Type::VEC2, "out_edges") .additional_info("workbench_smaa") .do_static_compilation(true)
 
 define ("SMAA_STAGE", "1") .sampler(0
 
edgesTex sampler (1, ImageType::FLOAT_2D, "areaTex") .sampler(2
 
edgesTex searchTex fragment_out (0, Type::VEC4, "out_weights") .additional_info("workbench_smaa") .do_static_compilation(true)
 
 define ("SMAA_STAGE", "2") .sampler(0
 

Function Documentation

◆ define() [1/5]

smooth (Type::VEC2, "uvs") .smooth(Type define ( "SMAA_GLSL_3"  )

◆ define() [2/5]

smooth (Type::VEC2, "uvs") .smooth(Type viewportMetrics define ( "SMAA_PRESET_HIGH"  )

◆ define() [3/5]

smooth (Type::VEC2, "uvs") .smooth(Type viewportMetrics float4 (1.0, 1.0, 1.0, 1.0)") .define("SMAA_NO_DISCARD") .vertex_out(workbench_smaa_iface) .push_constant(Type define ( "SMAA_STAGE"  ,
"0"   
)

◆ define() [4/5]

define ( "SMAA_STAGE"  ,
"1"   
)

◆ define() [5/5]

define ( "SMAA_STAGE"  ,
"2"   
)

◆ fragment_out() [1/2]

smooth (Type::VEC2, "uvs") .smooth(Type viewportMetrics float4 (1.0, 1.0, 1.0, 1.0)") .define("SMAA_NO_DISCARD") .vertex_out(workbench_smaa_iface) .push_constant(Type colorTex fragment_out ( ,
Type::VEC2  ,
"out_edges"   
)

◆ fragment_out() [2/2]

edgesTex searchTex fragment_out ( ,
Type::VEC4  ,
"out_weights"   
)

◆ sampler()

edgesTex sampler ( ,
ImageType::FLOAT_2D  ,
"areaTex"   
)