| Flutter Impeller |

Public Attributes | Static Public Attributes | List of all members
impeller::KernelSamples Struct Reference

`#include <gaussian_blur_filter_contents.h>`

## Public Attributes
int | sample_count
KernelSample | samples [kMaxKernelSize]

## Static Public Attributes
static constexpr int | kMaxKernelSize = kGaussianBlurMaxKernelSize * 2

## Detailed Description

A larger mirror of GaussianBlurPipeline::FragmentShader::KernelSamples.

This is a mirror of GaussianBlurPipeline::FragmentShader::KernelSamples that can hold 2x the max kernel size since it will get reduced with the lerp hack.

Definition at line 40 of file gaussian_blur_filter_contents.h.

## Member Data Documentation

## ◆ kMaxKernelSize

constexpr int impeller::KernelSamples::kMaxKernelSize = kGaussianBlurMaxKernelSize * 2
| static constexpr

Definition at line 41 of file gaussian_blur_filter_contents.h.

Referenced by impeller::GenerateBlurInfo().

## ◆ sample_count

int impeller::KernelSamples::sample_count

Definition at line 42 of file gaussian_blur_filter_contents.h.

Referenced by impeller::GenerateBlurInfo(), impeller::LerpHackKernelSamples(), and impeller::testing::TEST().

## ◆ samples

KernelSample impeller::KernelSamples::samples[kMaxKernelSize]

Definition at line 43 of file gaussian_blur_filter_contents.h.

Referenced by impeller::GenerateBlurInfo(), impeller::LerpHackKernelSamples(), and impeller::testing::TEST().

The documentation for this struct was generated from the following file:

- impeller/entity/contents/filters/gaussian_blur_filter_contents.h