/Engine/Source/Runtime/RenderCore/Public/Shader.h
Returns an array of valid stages, sorted from PS->GS->DS->HS->VS, no gaps if missing stages.
const [TArray](API\Runtime\Core\Containers\TArray)< const [FShaderType](API\Runtime\RenderCore\FShaderType) * > & GetStages() const