summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader_Position.h
blob: 59bfe99da4f04195784308fabcb686b16f3623db (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 CoordComponentCount;

class VertexLoader_Position
{
public:
  static u32 GetSize(VertexComponentFormat type, ComponentFormat format,
                     CoordComponentCount elements);

  static TPipelineFunction GetFunction(VertexComponentFormat type, ComponentFormat format,
                                       CoordComponentCount elements);
};