Host storage layout consumed by the matrix-convolution program. The kernel coefficients are not part of this block: they are bound separately as the runtime-sized coefficients array, holding exactly orderX * orderY row-major values, so the kernel size is bounded by the host admission limits rather than by a fixed array in the shader. More...
#include "donner/gpu/shader/programs/ConvolveMatrix.h"
Host storage layout consumed by the matrix-convolution program. The kernel coefficients are not part of this block: they are bound separately as the runtime-sized coefficients array, holding exactly orderX * orderY row-major values, so the kernel size is bounded by the host admission limits rather than by a fixed array in the shader.
| 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.
| 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.
| int32_t donner::gpu::shader::programs::ConvolveMatrixParams::wrapHeight = -1 |
Height of the wrap domain. Negative selects the full texture.
| int32_t donner::gpu::shader::programs::ConvolveMatrixParams::wrapLeft = 0 |
First column of the logical input image.
| int32_t donner::gpu::shader::programs::ConvolveMatrixParams::wrapTop = 0 |
First row of the logical input image.
| int32_t donner::gpu::shader::programs::ConvolveMatrixParams::wrapWidth = -1 |
Width of the wrap domain. Negative selects the full texture.