2015-05-24 04:55:12 +00:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2013-04-18 03:09:55 +00:00
|
|
|
// 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:
|
2013-03-20 01:51:12 +00:00
|
|
|
// GetSize
|
2014-09-01 09:00:25 +00:00
|
|
|
static unsigned int GetSize(u64 _type, unsigned int _format, unsigned int _elements);
|
2010-02-28 11:36:00 +00:00
|
|
|
|
2013-03-20 01:51:12 +00:00
|
|
|
// GetFunction
|
2014-09-01 09:00:25 +00:00
|
|
|
static TPipelineFunction GetFunction(u64 _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
|
|
|
};
|