2013-04-18 06:09:55 +03:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 06:46:09 +02:00
|
|
|
|
2014-07-02 08:17:33 +03:00
|
|
|
#pragma once
|
2008-12-08 06:46:09 +02:00
|
|
|
|
2014-10-21 09:01:38 +03:00
|
|
|
#include "VideoCommon/NativeVertexFormat.h"
|
|
|
|
|
2010-04-09 18:13:42 +03:00
|
|
|
class VertexLoader_Position {
|
|
|
|
public:
|
|
|
|
|
2013-03-20 03:51:12 +02:00
|
|
|
// Init
|
2014-08-30 19:41:21 +03:00
|
|
|
static void Init();
|
2010-04-09 18:13:42 +03:00
|
|
|
|
2013-03-20 03:51:12 +02:00
|
|
|
// GetSize
|
2014-09-01 12:00:25 +03:00
|
|
|
static unsigned int GetSize(u64 _type, unsigned int _format, unsigned int _elements);
|
2010-04-09 18:13:42 +03:00
|
|
|
|
2013-03-20 03:51:12 +02:00
|
|
|
// GetFunction
|
2014-09-01 12:00:25 +03:00
|
|
|
static TPipelineFunction GetFunction(u64 _type, unsigned int _format, unsigned int _elements);
|
2010-04-09 18:13:42 +03:00
|
|
|
};
|
2008-12-08 06:46:09 +02:00
|
|
|
|