2015-05-24 06:55:12 +02:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2008-12-08 05:46:09 +01:00
|
|
|
|
2014-07-02 07:17:33 +02:00
|
|
|
#pragma once
|
2008-12-08 05:46:09 +01:00
|
|
|
|
2016-01-17 22:54:31 +01:00
|
|
|
#include "Common/CommonTypes.h"
|
2017-03-03 20:43:52 +01:00
|
|
|
#include "VideoCommon/VertexLoader.h"
|
2014-10-21 08:01:38 +02:00
|
|
|
|
2021-02-09 00:22:10 +01:00
|
|
|
enum class VertexComponentFormat;
|
|
|
|
enum class ComponentFormat;
|
|
|
|
enum class CoordComponentCount;
|
|
|
|
|
2015-09-05 22:06:25 +02:00
|
|
|
class VertexLoader_Position
|
|
|
|
{
|
2010-04-09 17:13:42 +02:00
|
|
|
public:
|
2021-02-09 00:22:10 +01:00
|
|
|
static u32 GetSize(VertexComponentFormat type, ComponentFormat format,
|
|
|
|
CoordComponentCount elements);
|
2010-04-09 17:13:42 +02:00
|
|
|
|
2021-02-09 00:22:10 +01:00
|
|
|
static TPipelineFunction GetFunction(VertexComponentFormat type, ComponentFormat format,
|
|
|
|
CoordComponentCount elements);
|
2010-04-09 17:13:42 +02:00
|
|
|
};
|