Skia
2D Graphics Library
SkPerlinNoiseShader.h File Reference
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkShader.h"
#include "include/private/base/SkAPI.h"
Include dependency graph for SkPerlinNoiseShader.h:

Go to the source code of this file.

Namespaces

 SkShaders
 

Functions

SK_API sk_sp< SkShaderSkShaders::MakeFractalNoise (SkScalar baseFrequencyX, SkScalar baseFrequencyY, int numOctaves, SkScalar seed, const SkISize *tileSize=nullptr)
 This will construct Perlin noise of the given type (Fractal Noise or Turbulence). More...
 
SK_API sk_sp< SkShaderSkShaders::MakeTurbulence (SkScalar baseFrequencyX, SkScalar baseFrequencyY, int numOctaves, SkScalar seed, const SkISize *tileSize=nullptr)