|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Host storage layout consumed by the matrix-convolution program. More...
#include "donner/gpu/shader/programs/ConvolveMatrixBindings.h"
Public Attributes | |
| int32_t | orderX |
| Kernel width. | |
| int32_t | orderY |
| Kernel height. | |
| int32_t | targetX |
| Horizontal target within the kernel. | |
| int32_t | targetY |
| Vertical target within the kernel. | |
| float | divisor |
| Nonzero scale applied after accumulation. | |
| float | bias |
| Offset applied after division. | |
| uint32_t | edgeMode |
| Zero duplicates, one wraps, and two samples transparent black. | |
| uint32_t | preserveAlpha |
| One retains source alpha and convolves straight RGB. | |
| float | kernel [kConvolveMatrixKernelCapacity] |
| Coefficients rotated when sampled. | |
Host storage layout consumed by the matrix-convolution program.
| float donner::gpu::shader::programs::ConvolveMatrixParams::bias |
Offset applied after division.
| float donner::gpu::shader::programs::ConvolveMatrixParams::divisor |
Nonzero scale applied after accumulation.
| uint32_t donner::gpu::shader::programs::ConvolveMatrixParams::edgeMode |
Zero duplicates, one wraps, and two samples transparent black.
| float donner::gpu::shader::programs::ConvolveMatrixParams::kernel[kConvolveMatrixKernelCapacity] |
Coefficients rotated when sampled.
| int32_t donner::gpu::shader::programs::ConvolveMatrixParams::orderX |
Kernel width.
| int32_t donner::gpu::shader::programs::ConvolveMatrixParams::orderY |
Kernel height.
| uint32_t donner::gpu::shader::programs::ConvolveMatrixParams::preserveAlpha |
One retains source alpha and convolves straight RGB.
| int32_t donner::gpu::shader::programs::ConvolveMatrixParams::targetX |
Horizontal target within the kernel.
| int32_t donner::gpu::shader::programs::ConvolveMatrixParams::targetY |
Vertical target within the kernel.