22 lines
597 B
C++
22 lines
597 B
C++
// 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);
|
|
};
|