summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.h
blob: 7e6c46818ac46fdbae418c913188e9dbc37d296f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.

#pragma once

#include <string>

#include "Common/Common.h"

namespace VertexLoaderManager
{
	void Init();
	void Shutdown();

	void MarkAllDirty();

	int GetVertexSize(int vtx_attr_group);
	void RunVertices(int vtx_attr_group, int primitive, int count);

	// For debugging
	void AppendListToString(std::string *dest);
};

void RecomputeCachedArraybases();