Navigation
API > API/Runtime > API/Runtime/VulkanRHI
There should be one value for each value in EShaderFrequency. These values are meant to be used as indices in contexts where values for different bind points can overlap (Graphics/Compute/RayTracing) like shader arrays in pipeline states or UB binding indices for Graphics (Vertex==0, Pixel==1) that can overlap with Compute (Compute==0). IMPORTANT: Adjusting these requires a full shader rebuild (ie modify the GUID in VulkanCommon.usf)
| Name | ShaderStage::EStage |
| Type | enum |
| Header File | /Engine/Source/Runtime/VulkanRHI/Public/VulkanCommon.h |
| Include Path | #include "VulkanCommon.h" |
Syntax
namespace ShaderStage
{
enum EStage
{
Vertex = 0,
Pixel = 1,
Geometry = 2,
Mesh = 3,
Task = 4,
NumGraphicsStages = 5,
RayGen = 0,
RayMiss = 1,
RayHitGroup = 2,
RayCallable = 3,
NumRayTracingStages = 4,
Compute = 0,
NumComputeStages = 1,
MaxNumStages = 6,
Invalid = -1,
}
}
Values
| Name | Remarks |
|---|---|
| Vertex | |
| Pixel | |
| Geometry | |
| Mesh | |
| Task | |
| NumGraphicsStages | |
| RayGen | |
| RayMiss | |
| RayHitGroup | |
| RayCallable | |
| NumRayTracingStages | |
| Compute | |
| NumComputeStages | |
| MaxNumStages | |
| Invalid |