ShaderStage::EStage

Windows
MacOS
Linux

References

Module

VulkanRHI

Header

/Engine/Source/Runtime/VulkanRHI/Public/VulkanCommon.h

Include

#include "VulkanCommon.h"

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss