| Flutter Impeller |

Namespaces | Macros
linear_gradient_contents.cc File Reference
`#include "linear_gradient_contents.h"`
`#include "impeller/core/formats.h"`
`#include "impeller/entity/contents/content_context.h"`
`#include "impeller/entity/contents/gradient_generator.h"`
`#include "impeller/entity/entity.h"`
`#include "impeller/entity/geometry/geometry.h"`
`#include "impeller/geometry/scalar.h"`
`#include "impeller/renderer/render_pass.h"`
`#include "impeller/renderer/vertex_buffer_builder.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(Linear)::colors)
#define | UNIFORM_STOP_SIZE ARRAY_LEN(UNIFORM_FRAG_INFO(Linear)::stop_pairs)

## Macro Definition Documentation

## ◆ ARRAY_LEN

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

Definition at line 190 of file linear_gradient_contents.cc.

## ◆ UNIFORM_COLOR_SIZE

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

Definition at line 193 of file linear_gradient_contents.cc.

## ◆ UNIFORM_FRAG_INFO

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

Definition at line 191 of file linear_gradient_contents.cc.

## ◆ UNIFORM_STOP_SIZE

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

Definition at line 194 of file linear_gradient_contents.cc.