Language:
Discover
By Skill Level
By Category

ShaderStage::EStage

Choose your OS:

Syntax

namespace ShaderStage
{
    enum EStage
    {
        Vertex        = 0,
        Pixel         = 1,
        Geometry      = 2,
        NumStages     = 3,
        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

We don't support tessellation on desktop currently Hull = 3, Domain = 4,

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