#include <SkPerlinNoiseShaderImpl.h>
Definition at line 62 of file SkPerlinNoiseShaderImpl.h.
◆ PaintingData() [1/2]
Definition at line 63 of file SkPerlinNoiseShaderImpl.h.
66 {
70 this->init(seed);
72 this->stitch();
73 }
74 }
#define SkScalarRoundToInt(x)
void set(int32_t w, int32_t h)
void set(float x, float y)
◆ PaintingData() [2/2]
SkPerlinNoiseShader::PaintingData::PaintingData |
( |
const PaintingData & |
that | ) |
|
|
inline |
Definition at line 86 of file SkPerlinNoiseShaderImpl.h.
91 , fPermutationsBitmap(that.fPermutationsBitmap)
92 , fNoiseBitmap(that.fNoiseBitmap) {
95 }
StitchData fStitchDataInit
uint16_t fNoise[4][kBlockSize][2]
uint8_t fLatticeSelector[kBlockSize]
◆ generateBitmaps()
void SkPerlinNoiseShader::PaintingData::generateBitmaps |
( |
| ) |
|
|
inline |
Definition at line 76 of file SkPerlinNoiseShaderImpl.h.
76 {
80
84 }
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
@ kRGBA_8888_SkColorType
pixel with 8 bits for red, green, blue, alpha; in 32-bit word
bool installPixels(const SkImageInfo &info, void *pixels, size_t rowBytes, void(*releaseProc)(void *addr, void *context), void *context)
static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at)
static SkImageInfo MakeA8(int width, int height)
◆ getNoiseBitmap()
const SkBitmap & SkPerlinNoiseShader::PaintingData::getNoiseBitmap |
( |
| ) |
const |
|
inline |
◆ getPermutationsBitmap()
const SkBitmap & SkPerlinNoiseShader::PaintingData::getPermutationsBitmap |
( |
| ) |
const |
|
inline |
◆ fBaseFrequency
SkVector SkPerlinNoiseShader::PaintingData::fBaseFrequency |
◆ fLatticeSelector
uint8_t SkPerlinNoiseShader::PaintingData::fLatticeSelector[kBlockSize] |
◆ fNoise
uint16_t SkPerlinNoiseShader::PaintingData::fNoise[4][kBlockSize][2] |
◆ fSeed
int SkPerlinNoiseShader::PaintingData::fSeed |
◆ fStitchDataInit
StitchData SkPerlinNoiseShader::PaintingData::fStitchDataInit |
◆ fTileSize
SkISize SkPerlinNoiseShader::PaintingData::fTileSize |
The documentation for this struct was generated from the following file: