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 04:46:09 +00:00
|
|
|
|
2014-02-10 13:54:46 -05:00
|
|
|
#pragma once
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2016-01-17 16:54:31 -05:00
|
|
|
#include "Common/CommonTypes.h"
|
2017-03-03 14:43:52 -05:00
|
|
|
#include "VideoCommon/VertexLoader.h"
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2021-02-08 15:22:10 -08:00
|
|
|
enum class VertexComponentFormat;
|
|
|
|
enum class ComponentFormat;
|
|
|
|
enum class NormalComponentCount;
|
|
|
|
|
2008-07-12 17:40:22 +00:00
|
|
|
class VertexLoader_Normal
|
|
|
|
{
|
|
|
|
public:
|
2021-02-08 15:22:10 -08:00
|
|
|
static u32 GetSize(VertexComponentFormat type, ComponentFormat format,
|
2021-04-25 16:04:13 -07:00
|
|
|
NormalComponentCount elements, bool index3);
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2021-02-08 15:22:10 -08:00
|
|
|
static TPipelineFunction GetFunction(VertexComponentFormat type, ComponentFormat format,
|
2021-04-25 16:04:13 -07:00
|
|
|
NormalComponentCount elements, bool index3);
|
2008-07-12 17:40:22 +00:00
|
|
|
};
|