2014-08-21 09:27:53 +02:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 06:38:14 +01:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-08-21 09:27:53 +02:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2015-08-30 08:37:42 +02:00
|
|
|
#include <glad/glad.h>
|
2014-08-21 09:27:53 +02:00
|
|
|
|
|
|
|
namespace ShaderUtil {
|
|
|
|
|
2015-07-26 03:13:11 +02:00
|
|
|
enum Attributes {
|
|
|
|
ATTRIBUTE_POSITION = 0,
|
|
|
|
ATTRIBUTE_COLOR = 1,
|
|
|
|
ATTRIBUTE_TEXCOORDS = 2,
|
|
|
|
};
|
|
|
|
|
2014-08-21 09:27:53 +02:00
|
|
|
GLuint LoadShaders(const char* vertex_file_path, const char* fragment_file_path);
|
|
|
|
|
|
|
|
}
|