|
static Texture | Generate (string shaderName, int passId, int textureWidth, int textureHeight, Color colorA, Color colorB, Vector4 param) |
| Generate texture from shader. More...
|
|
static Texture | GeneratePattern (Pattern p, int textureWidth, int textureHeight, Color colorA, Color colorB, Vector2 size, float smoothness, float scale) |
|
static Texture EthansGraphicsKit.ProceduralTexture.ProceduralTextureGenerator.Generate |
( |
string |
shaderName, |
|
|
int |
passId, |
|
|
int |
textureWidth, |
|
|
int |
textureHeight, |
|
|
Color |
colorA, |
|
|
Color |
colorB, |
|
|
Vector4 |
param |
|
) |
| |
|
static |
Generate texture from shader.
- Parameters
-
shaderName | |
passId | |
textureWidth | |
textureHeight | |
colorA | |
colorB | |
param | |
- Returns
static Texture EthansGraphicsKit.ProceduralTexture.ProceduralTextureGenerator.GeneratePattern |
( |
Pattern |
p, |
|
|
int |
textureWidth, |
|
|
int |
textureHeight, |
|
|
Color |
colorA, |
|
|
Color |
colorB, |
|
|
Vector2 |
size, |
|
|
float |
smoothness, |
|
|
float |
scale |
|
) |
| |
|
static |
- Parameters
-
p | |
textureWidth | |
textureHeight | |
colorA | |
colorB | |
size | |
smoothness | |
- Returns
The documentation for this class was generated from the following file: