Combine all GenImageXNoise functions into one function (GenImageNoise)
This commit is contained in:
parent
36bf4372b8
commit
5ad0fdbc05
3 changed files with 599 additions and 413 deletions
|
|
@ -215,8 +215,7 @@ GenImageGradientV|Image|(int width, int height, Color top, Color bottom);|
|
|||
GenImageGradientH|Image|(int width, int height, Color left, Color right);|
|
||||
GenImageGradientRadial|Image|(int width, int height, float density, Color inner, Color outer);|
|
||||
GenImageChecked|Image|(int width, int height, int checksX, int checksY, Color col1, Color col2);|
|
||||
GenImageWhiteNoise|Image|(int width, int height, float factor);|
|
||||
GenImagePerlinNoise|Image|(int width, int height, int offsetX, int offsetY, float scale);|
|
||||
GenImageNoise|Image|(int width, int height, ... args);|
|
||||
GenImageCellular|Image|(int width, int height, int tileSize);|
|
||||
GenTextureMipmaps|void|(Texture2D *texture);|
|
||||
SetTextureFilter|void|(Texture2D texture, int filterMode);|
|
||||
|
|
|
|||
|
|
@ -1413,6 +1413,20 @@
|
|||
<Param name="Color col2" />
|
||||
</Overload>
|
||||
</KeyWord>
|
||||
<KeyWord name="GenImageNoise" func="yes">
|
||||
<Overload retVal="Image" descr="Generate image: noise">
|
||||
<Param name="NoiseType type" />
|
||||
<Param name="int width" />
|
||||
<Param name="int height" />
|
||||
<Param name="float factor" />
|
||||
<Param name="int offsetX" />
|
||||
<Param name="int offsetY" />
|
||||
<Param name="float scale" />
|
||||
<Param name="float lacunarity" />
|
||||
<Param name="float gain" />
|
||||
<Param name="int octaves" />
|
||||
</Overload>
|
||||
</KeyWord>
|
||||
<KeyWord name="GenImageWhiteNoise" func="yes">
|
||||
<Overload retVal="Image" descr="Generate image: white noise">
|
||||
<Param name="int width" />
|
||||
|
|
|
|||
|
|
@ -321,8 +321,7 @@ RLAPI Image GenImageGradientV(int width, int height, Color top, Color bottom);
|
|||
RLAPI Image GenImageGradientH(int width, int height, Color left, Color right); // Generate image: horizontal gradient
|
||||
RLAPI Image GenImageGradientRadial(int width, int height, float density, Color inner, Color outer); // Generate image: radial gradient
|
||||
RLAPI Image GenImageChecked(int width, int height, int checksX, int checksY, Color col1, Color col2); // Generate image: checked
|
||||
RLAPI Image GenImageWhiteNoise(int width, int height, float factor); // Generate image: white noise
|
||||
RLAPI Image GenImagePerlinNoise(int width, int height, int offsetX, int offsetY, float scale); // Generate image: perlin noise
|
||||
RLAPI Image GenImageNoise(NoiseType type, int width, int height, ...); // Generate image: noise
|
||||
RLAPI Image GenImageCellular(int width, int height, int tileSize); // Generate image: cellular algorithm, bigger tileSize means bigger cells
|
||||
RLAPI Image GenImageText(int width, int height, const char *text); // Generate image: grayscale image from text data
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue