Class used to represent a texture that is procedurally generated using a Compute Shader.
More...
|
void | Init (int textureResolution) |
| Initializes by creating a render texture with the specified resolution. More...
|
|
void | dispatchAndUpdateImage () |
| Runs the compute shader and updates the texture. More...
|
|
Class used to represent a texture that is procedurally generated using a Compute Shader.
◆ dispatchAndUpdateImage()
void WMG_Compute_Shader.dispatchAndUpdateImage |
( |
| ) |
|
Runs the compute shader and updates the texture.
◆ Init()
void WMG_Compute_Shader.Init |
( |
int |
textureResolution | ) |
|
Initializes by creating a render texture with the specified resolution.
- Parameters
-
textureResolution | Texture resolution. |
◆ computeShader
ComputeShader WMG_Compute_Shader.computeShader |
The documentation for this class was generated from the following file:
- C:/Users/Stuart/Documents/Unity Projects/Graph Maker 5.0.1/Assets/Graph_Maker/Scripts/WMG_Compute_Shader.cs