VisualShaderNodeTextureSourceEnum Enumeration |
[Missing <summary> documentation for "T:Godot.VisualShaderNodeTexture.SourceEnum"]
Namespace: Godot
public enum SourceEnum
| Member name | Value | Description | |
|---|---|---|---|
| Texture | 0 | Use the texture given as an argument for this function. | |
| Screen | 1 | Use the current viewport's texture as the source. | |
| Source2dTexture | 2 | Use the texture from this shader's texture built-in (e.g. a texture of a Sprite). | |
| Source2dNormal | 3 | Use the texture from this shader's normal map built-in. | |
| Depth | 4 | Use the depth texture available for this shader. | |
| Port | 5 | Use the texture provided in the input port for this function. |