Flutter Impeller
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 39 of file gaussian_blur_filter_contents.h.

Member Data Documentation

◆ kMaxKernelSize

constexpr int impeller::KernelSamples::kMaxKernelSize = kGaussianBlurMaxKernelSize * 2
staticconstexpr

Definition at line 40 of file gaussian_blur_filter_contents.h.

Referenced by impeller::GenerateBlurInfo().

◆ sample_count

int impeller::KernelSamples::sample_count

◆ samples


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