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