2023-06-12 06:57:38 +10:00
|
|
|
// See compose.slang for copyright and other information.
|
|
|
|
|
|
|
|
// clang-format off
|
2023-09-15 10:55:13 +10:00
|
|
|
#pragma parameter AVERAGE_FILL_SETTINGS "=== Average fill v1.7 settings ===" 0.0 0.0 1.0 1.0
|
2023-09-11 00:15:41 +10:00
|
|
|
|
2023-09-15 10:55:13 +10:00
|
|
|
#include "../../../misc/shaders/crop_and_scale/parameters.slang"
|
2023-06-15 06:30:56 +10:00
|
|
|
|
2023-09-11 00:15:41 +10:00
|
|
|
#pragma parameter OTHER_SETTINGS "= Other parameters =" 0.0 0.0 1.0 1.0
|
2023-06-15 06:30:56 +10:00
|
|
|
#pragma parameter EXTEND_H "Extend the fill horizontally" 1.0 0.0 1.0 1.0
|
|
|
|
#pragma parameter EXTEND_V "Extend the fill vertically" 1.0 0.0 1.0 1.0
|
|
|
|
|
|
|
|
#pragma parameter CORNER_BLEND_MODE "Cropped corner blend mode" 0.0 0.0 3.0 1.0
|
|
|
|
|
|
|
|
#pragma parameter FILL_GAMMA "Background fill gamma adjustment" 1.0 0.5 2.0 0.1
|
2023-09-11 00:15:41 +10:00
|
|
|
|
|
|
|
#pragma parameter SAMPLE_SIZE "No. of lines for calculating the average" 8.0 1.0 64.0 1.0
|
2023-06-12 06:57:38 +10:00
|
|
|
// clang-format on
|