Flutter Engine
The Flutter Engine
Classes | Public Types | Static Public Member Functions | List of all members
skgpu::graphite::PerlinNoiseShaderBlock Struct Reference

#include <KeyHelpers.h>

Classes

struct  PerlinNoiseData
 

Public Types

enum class  Type { kFractalNoise , kTurbulence }
 

Static Public Member Functions

static void AddBlock (const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *, const PerlinNoiseData &)
 

Detailed Description

Definition at line 255 of file KeyHelpers.h.

Member Enumeration Documentation

◆ Type

Enumerator
kFractalNoise 
kTurbulence 

Definition at line 256 of file KeyHelpers.h.

256 {
257 kFractalNoise,
258 kTurbulence,
259 };

Member Function Documentation

◆ AddBlock()

void skgpu::graphite::PerlinNoiseShaderBlock::AddBlock ( const KeyContext keyContext,
PaintParamsKeyBuilder builder,
PipelineDataGatherer gatherer,
const PerlinNoiseData noiseData 
)
static

Definition at line 915 of file KeyHelpers.cpp.

918 {
919 add_perlin_noise_uniform_data(keyContext.dict(), noiseData, gatherer);
920
922}

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