|
Blender V4.3
|
#include "gpu_shader_create_info.hh"Go to the source code of this file.
Functions | |
| local_group_size (16, 16) .define("SMAA_GLSL_3") .define("SMAA_RT_METRICS" | |
| vec4 (1.0/vec2(textureSize(input_tx, 0)), vec2(textureSize(input_tx, 0)))") .define("SMAA_LUMA_WEIGHT" | |
| vec4 (luminance_coefficients, 0.0)") .define("SMAA_THRESHOLD" | |
| smaa_threshold define("SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR", "smaa_local_contrast_adaptation_factor") .push_constant(Type | vec4 (1.0/vec2(textureSize(edges_tx, 0)), vec2(textureSize(edges_tx, 0)))") .define("SMAA_CORNER_ROUNDING" |
| smaa_threshold define("SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR", "smaa_local_contrast_adaptation_factor") .push_constant(Type smaa_corner_rounding | push_constant (Type::INT, "smaa_corner_rounding") .sampler(0 |
| smaa_threshold define("SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR", "smaa_local_contrast_adaptation_factor") .push_constant(Type smaa_corner_rounding edges_tx | sampler (1, ImageType::FLOAT_2D, "area_tx") .sampler(2 |
| smaa_threshold define("SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR", "smaa_local_contrast_adaptation_factor") .push_constant(Type smaa_corner_rounding edges_tx search_tx | image (0, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "weights_img") .compute_source("compositor_smaa_blending_weight_calculation.glsl") .do_static_compilation(true) |
| input_tx | sampler (1, ImageType::FLOAT_2D, "weights_tx") .compute_source("compositor_smaa_neighborhood_blending.glsl") |
| additional_info ("compositor_smaa_neighborhood_blending_shared") .image(0 | |
| output_img | do_static_compilation (true) |
Variables | |
| GPU_RGBA16F | |
| GPU_RG16F | |
| GPU_R16F | |
| additional_info | ( | "compositor_smaa_neighborhood_blending_shared" | ) |
| output_img do_static_compilation | ( | true | ) |
Colors, weights, and Circle of confusion radii for the 4 pixels to scatter. Scaling factor for the bokeh distance. Sprite pixel position with origin at sprite center. In pixels.
| smaa_threshold define("SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR", "smaa_local_contrast_adaptation_factor") .push_constant(Type smaa_corner_rounding edges_tx search_tx image | ( | 0 | , |
| GPU_RGBA16F | , | ||
| Qualifier::WRITE | , | ||
| ImageType::FLOAT_2D | , | ||
| "weights_img" | ) |
| local_group_size | ( | 16 | , |
| 16 | ) |
| smaa_threshold define("SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR", "smaa_local_contrast_adaptation_factor") .push_constant(Type smaa_corner_rounding push_constant | ( | Type::INT | , |
| "smaa_corner_rounding" | ) |
| smaa_threshold define("SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR", "smaa_local_contrast_adaptation_factor") .push_constant(Type smaa_corner_rounding edges_tx sampler | ( | 1 | , |
| ImageType::FLOAT_2D | , | ||
| "area_tx" | ) |
| input_tx sampler | ( | 1 | , |
| ImageType::FLOAT_2D | , | ||
| "weights_tx" | ) |
| smaa_threshold define("SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR", "smaa_local_contrast_adaptation_factor") .push_constant(Type vec4 | ( | 1.0/ | vec2textureSize(edges_tx, 0), |
| vec2(textureSize(edges_tx, 0)) | ) |
| vec4 | ( | 1.0/ | vec2textureSize(input_tx, 0), |
| vec2(textureSize(input_tx, 0)) | ) |
| vec4 | ( | luminance_coefficients | , |
| 0. | 0 ) |
| GPU_R16F |
Definition at line 58 of file compositor_smaa_info.hh.
| GPU_RG16F |
Definition at line 53 of file compositor_smaa_info.hh.
Referenced by blender::workbench::OpaquePass::draw(), drw_texture_format_supports_framebuffer(), blender::realtime_compositor::Result::gpu_texture_format(), blender::realtime_compositor::Result::gpu_texture_format(), GPU_texture_format_name(), blender::gpu::gpu_texture_format_to_metal(), blender::realtime_compositor::Result::precision(), blender::eevee::DepthOfField::render(), blender::eevee::MotionBlurModule::render(), blender::eevee::MotionBlurModule::sync(), blender::gpu::to_bytesize(), blender::gpu::to_component_len(), blender::gpu::to_data_format(), blender::gpu::to_format_flag(), blender::gpu::to_framebuffer_bits(), blender::gpu::to_gl_data_format(), blender::gpu::to_gl_internal_format(), blender::gpu::to_string(), to_string(), blender::gpu::to_vk_format(), blender::gpu::to_vk_image_aspect_flag_bits(), blender::realtime_compositor::Result::type(), blender::gpu::type_of_conversion_float(), blender::gpu::type_of_conversion_half(), blender::gpu::type_of_conversion_int(), blender::gpu::type_of_conversion_ubyte(), blender::gpu::type_of_conversion_uint(), blender::gpu::validate_data_format(), and blender::eevee::RenderBuffers::vector_tx_format().
| GPU_RGBA16F |
Definition at line 48 of file compositor_smaa_info.hh.