YourGameLib
Loading...
Searching...
No Matches
postproc.h
Go to the documentation of this file.
1/*
2Copyright (c) 2019-2024 Alexander Scholz
3
4This software is provided 'as-is', without any express or implied
5warranty. In no event will the authors be held liable for any damages
6arising from the use of this software.
7
8Permission is granted to anyone to use this software for any purpose,
9including commercial applications, and to alter it and redistribute it
10freely, subject to the following restrictions:
11
121. The origin of this software must not be misrepresented; you must not
13 claim that you wrote the original software. If you use this software
14 in a product, an acknowledgment in the product documentation would be
15 appreciated but is not required.
162. Altered source versions must be plainly marked as such, and must not be
17 misrepresented as being the original software.
183. This notice may not be removed or altered from any source distribution.
19*/
20#ifndef YOURGAME_POSTPROC_H
21#define YOURGAME_POSTPROC_H
22
23#include "yourgame/gl/shader.h"
24
25namespace yourgame
26{
27 namespace util
28 {
29 namespace postproc
30 {
31 void resize(uint32_t width, uint32_t height);
32 bool init(uint32_t width, uint32_t height);
33 void shutdown();
34 bool isInitialized();
35 void use(yourgame::gl::Shader *shader);
36 } // namespace postproc
37 } // namespace util
38} // namespace yourgame
39
40#endif
Definition shader.h:35
void use(yourgame::gl::Shader *shader)
Definition postproc.cpp:276
void resize(uint32_t width, uint32_t height)
Definition postproc.cpp:222
bool init(uint32_t width, uint32_t height)
Definition postproc.cpp:229
void shutdown()
Definition postproc.cpp:260
bool isInitialized()
Definition postproc.cpp:271
Definition audio.h:27