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