Doxygen Samurai Engine
0.0.1
Doxygen Samurai Engine Documentation
Loading...
Searching...
No Matches
frameBuffer.h
Go to the documentation of this file.
1
#pragma once
2
#include <glad/glad.h>
3
4
namespace
samurai
5
{
6
7
namespace
GL
8
{
9
10
struct
PikaFramebuffer
11
{
12
GLuint
fbo
= 0;
13
GLuint
texture
= 0;
14
15
void
createFramebuffer
(
unsigned
int
w,
unsigned
int
h);
16
17
void
deleteFramebuffer
();
18
19
void
resizeFramebuffer
(
unsigned
int
w,
unsigned
int
h);
20
21
};
22
23
24
25
26
27
28
}
29
30
31
32
}
samurai
Definition
assetManagerWindow.cpp:10
samurai::GL::PikaFramebuffer
Definition
frameBuffer.h:11
samurai::GL::PikaFramebuffer::deleteFramebuffer
void deleteFramebuffer()
Definition
frameBuffer.cpp:39
samurai::GL::PikaFramebuffer::createFramebuffer
void createFramebuffer(unsigned int w, unsigned int h)
Definition
frameBuffer.cpp:8
samurai::GL::PikaFramebuffer::fbo
GLuint fbo
Definition
frameBuffer.h:12
samurai::GL::PikaFramebuffer::texture
GLuint texture
Definition
frameBuffer.h:13
samurai::GL::PikaFramebuffer::resizeFramebuffer
void resizeFramebuffer(unsigned int w, unsigned int h)
Definition
frameBuffer.cpp:54
core
utility
openGL
frameBuffer.h
Generated by
1.10.0