ShaderStage::EStage

Syntax

namespace ShaderStage
{
    enum EStage
    {
        Vertex        = 0,
        Pixel         = 1,
        Geometry      = 2,
        Hull          = 3,
        Domain        = 4,
        NumStages,
        MaxNumSets    = 8,
        Compute       = 0,
        Invalid       = -1,
    }
}

Values

Name

Description

Vertex

Adjusting these requires a full shader rebuild (ie modify the guid on VulkanCommon.usf) Keep the values in sync with EShaderFrequency

Pixel

Geometry

Hull

Domain

NumStages

MaxNumSets

Compute

Compute is its own pipeline, so it can all live as set 0.

Invalid

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanCommon.h