dolphin/Source/Core/VideoCommon/VertexLoaderManager.h
2015-01-31 09:23:50 +01:00

29 lines
691 B
C++

// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#pragma once
#include <string>
#include "Common/CommonTypes.h"
#include "VideoCommon/DataReader.h"
#include "VideoCommon/NativeVertexFormat.h"
namespace VertexLoaderManager
{
void Init();
void Shutdown();
void MarkAllDirty();
// Returns -1 if buf_size is insufficient, else the amount of bytes consumed
int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bool skip_drawing, bool is_preprocess);
// For debugging
void AppendListToString(std::string *dest);
NativeVertexFormat* GetCurrentVertexFormat();
}
void RecomputeCachedArraybases();