| Flutter Impeller |

Namespaces | Macros
sweep_gradient_contents.cc File Reference
`#include "sweep_gradient_contents.h"`
`#include "flutter/fml/logging.h"`
`#include "impeller/entity/contents/clip_contents.h"`
`#include "impeller/entity/contents/content_context.h"`
`#include "impeller/entity/contents/gradient_generator.h"`
`#include "impeller/entity/entity.h"`
`#include "impeller/geometry/gradient.h"`
`#include "impeller/renderer/render_pass.h"`

Go to the source code of this file.

## Namespaces
| impeller

## Macros
#define | ARRAY_LEN(a) (sizeof(a) / sizeof(a[0]))
#define | UNIFORM_FRAG_INFO(t) t##GradientUniformFillPipeline::FragmentShader::FragInfo
#define | UNIFORM_COLOR_SIZE ARRAY_LEN(UNIFORM_FRAG_INFO(Sweep)::colors)
#define | UNIFORM_STOP_SIZE ARRAY_LEN(UNIFORM_FRAG_INFO(Sweep)::stop_pairs)

## Macro Definition Documentation

## ◆ ARRAY_LEN

#define ARRAY_LEN | ( |  | a | ) | (sizeof(a) / sizeof(a[0]))

Definition at line 64 of file sweep_gradient_contents.cc.

## ◆ UNIFORM_COLOR_SIZE

#define UNIFORM_COLOR_SIZE ARRAY_LEN(UNIFORM_FRAG_INFO(Sweep)::colors)

Definition at line 67 of file sweep_gradient_contents.cc.

## ◆ UNIFORM_FRAG_INFO

#define UNIFORM_FRAG_INFO | ( |  | t | ) | t##GradientUniformFillPipeline::FragmentShader::FragInfo

Definition at line 65 of file sweep_gradient_contents.cc.

## ◆ UNIFORM_STOP_SIZE

#define UNIFORM_STOP_SIZE ARRAY_LEN(UNIFORM_FRAG_INFO(Sweep)::stop_pairs)

Definition at line 68 of file sweep_gradient_contents.cc.