aboutsummaryrefslogtreecommitdiff
path: root/BuddhaTest/include/Helpers.h
blob: c24e2c738d7a9cd17de80cbad922829b5195af4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <vector>

namespace Helpers
{
	GLuint LoadShaders(const char * vertex_file_path, const char * fragment_file_path);
	GLuint LoadComputeShader(const char * compute_file_path);

    void WriteOutputPNG(const std::vector<uint32_t>& data, unsigned int width, unsigned int height);
}