2013-04-17 21:09:55 -06:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2008-12-07 21:46:09 -07:00
|
|
|
|
2014-02-10 11:54:46 -07:00
|
|
|
#pragma once
|
2008-12-07 21:46:09 -07:00
|
|
|
|
2014-02-17 03:18:15 -07:00
|
|
|
#include "VideoCommon/NativeVertexFormat.h"
|
2010-02-28 05:14:40 -07:00
|
|
|
|
2010-04-09 09:13:42 -06:00
|
|
|
class VertexLoader_TextCoord
|
|
|
|
{
|
|
|
|
public:
|
2010-02-28 04:36:00 -07:00
|
|
|
|
2013-03-19 19:51:12 -06:00
|
|
|
// Init
|
2014-08-30 10:41:21 -06:00
|
|
|
static void Init();
|
2010-02-28 04:36:00 -07:00
|
|
|
|
2013-03-19 19:51:12 -06:00
|
|
|
// GetSize
|
|
|
|
static unsigned int GetSize(unsigned int _type, unsigned int _format, unsigned int _elements);
|
2010-02-28 04:36:00 -07:00
|
|
|
|
2013-03-19 19:51:12 -06:00
|
|
|
// GetFunction
|
|
|
|
static TPipelineFunction GetFunction(unsigned int _type, unsigned int _format, unsigned int _elements);
|
2010-04-09 09:13:42 -06:00
|
|
|
|
2013-03-19 19:51:12 -06:00
|
|
|
// GetDummyFunction
|
2010-04-09 09:13:42 -06:00
|
|
|
// It is important to synchronize tcIndex.
|
2013-03-19 19:51:12 -06:00
|
|
|
static TPipelineFunction GetDummyFunction();
|
2010-04-09 09:13:42 -06:00
|
|
|
};
|