summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader_Normal.h
blob: f416c590c91c262bd1ed1947059c2f24b5d6a6f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include "Common/CommonTypes.h"
#include "VideoCommon/VertexLoader.h"

enum class VertexComponentFormat;
enum class ComponentFormat;
enum class NormalComponentCount;

class VertexLoader_Normal
{
public:
  static u32 GetSize(VertexComponentFormat type, ComponentFormat format,
                     NormalComponentCount elements, u32 index3);

  static TPipelineFunction GetFunction(VertexComponentFormat type, ComponentFormat format,
                                       NormalComponentCount elements, u32 index3);
};