Enum RenderingDevice.ShaderStage
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum RenderingDevice.ShaderStage : long
Fields
Compute = 4
Compute shader stage. This can be used to run arbitrary computing tasks in a shader, performing them on the GPU instead of the CPU.
ComputeBit = 16
Compute shader stage bit (see also Compute).
Fragment = 1
Fragment shader stage (called "pixel shader" in Direct3D). This can be used to manipulate pixels from a shader.
FragmentBit = 2
Fragment shader stage bit (see also Fragment).
Max = 5
Represents the size of the RenderingDevice.ShaderStage enum.
TesselationControl = 2
Tessellation control shader stage. This can be used to create additional geometry from a shader.
TesselationControlBit = 4
Tessellation control shader stage bit (see also TesselationControl).
TesselationEvaluation = 3
Tessellation evaluation shader stage. This can be used to create additional geometry from a shader.
TesselationEvaluationBit = 8
Tessellation evaluation shader stage bit (see also TesselationEvaluation).
Vertex = 0
Vertex shader stage. This can be used to manipulate vertices from a shader (but not create new vertices).
VertexBit = 1
Vertex shader stage bit (see also Vertex).