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