Blender  V3.3
Functions | Variables
workbench_effect_dof_info.hh File Reference
#include "gpu_shader_create_info.hh"

Go to the source code of this file.

Functions

 sampler (0, ImageType::FLOAT_2D, "inputCocTex") .sampler(1
 
maxCocTilesTex sampler (2, ImageType::FLOAT_2D, "sceneColorTex") .sampler(3
 
maxCocTilesTex sceneDepthTex sampler (4, ImageType::FLOAT_2D, "backgroundTex") .sampler(5
 
maxCocTilesTex sceneDepthTex halfResColorTex sampler (6, ImageType::FLOAT_2D, "blurTex") .sampler(7
 
maxCocTilesTex sceneDepthTex halfResColorTex noiseTex push_constant(Type::VEC2, "invertedViewportSize") .push_constant(Type define ("PREPARE") .fragment_out(0
 
maxCocTilesTex sceneDepthTex halfResColorTex noiseTex push_constant(Type::VEC2, "invertedViewportSize") .push_constant(Type halfResColor fragment_out (1, Type::VEC2, "normalizedCoc") .additional_info("workbench_effect_dof") .do_static_compilation(true)
 
 define ("DOWNSAMPLE") .fragment_out(0
 
outColor fragment_out (1, Type::VEC2, "outCocs") .additional_info("workbench_effect_dof") .do_static_compilation(true)
 
 define ("BLUR1") .define("NUM_SAMPLES"
 
 uniform_buf (1, "vec4", "samples[49]") .fragment_out(0
 
blurColor additional_info ("workbench_effect_dof") .do_static_compilation(true)
 
 define ("BLUR2") .fragment_out(0
 
 define ("RESOLVE") .fragment_out(0
 
DualBlend::SRC_0 fragment_out (0, Type::VEC4, "finalColorMul", DualBlend::SRC_1) .additional_info("workbench_effect_dof") .do_static_compilation(true)
 

Variables

 finalColorAdd
 

Function Documentation

◆ additional_info()

finalColor additional_info ( "workbench_effect_dof"  )

◆ define() [1/5]

define ( "BLUR1"  )

◆ define() [2/5]

define ( "BLUR2"  )

◆ define() [3/5]

define ( "DOWNSAMPLE"  )

◆ define() [4/5]

maxCocTilesTex sceneDepthTex halfResColorTex noiseTex push_constant (Type::VEC2, "invertedViewportSize") .push_constant(Type define ( "PREPARE"  )

◆ define() [5/5]

define ( "RESOLVE"  )

◆ fragment_out() [1/3]

DualBlend::SRC_0 fragment_out ( ,
Type::VEC4  ,
"finalColorMul"  ,
DualBlend::SRC_1   
)

◆ fragment_out() [2/3]

maxCocTilesTex sceneDepthTex halfResColorTex noiseTex push_constant (Type::VEC2, "invertedViewportSize") .push_constant(Type halfResColor fragment_out ( ,
Type::VEC2  ,
"normalizedCoc"   
)

◆ fragment_out() [3/3]

outColor fragment_out ( ,
Type::VEC2  ,
"outCocs"   
)

◆ sampler() [1/4]

sampler ( ,
ImageType::FLOAT_2D  ,
"inputCocTex"   
)

◆ sampler() [2/4]

maxCocTilesTex sampler ( ,
ImageType::FLOAT_2D  ,
"sceneColorTex"   
)

◆ sampler() [3/4]

maxCocTilesTex sceneDepthTex sampler ( ,
ImageType::FLOAT_2D  ,
"backgroundTex"   
)

◆ sampler() [4/4]

maxCocTilesTex sceneDepthTex halfResColorTex sampler ( ,
ImageType::FLOAT_2D  ,
"blurTex"   
)

◆ uniform_buf()

uniform_buf ( ,
"vec4"  ,
"samples"  [49] 
)

Variable Documentation

◆ finalColorAdd

finalColorAdd

Definition at line 53 of file workbench_effect_dof_info.hh.