TerraForge3D
2.3.1
3D Terrain And Landscape Generator
FrameBuffer.h
1
#pragma once
2
3
#include <cstdint>
4
5
class
FrameBuffer
6
{
7
8
public
:
9
10
FrameBuffer
(
int
width = 800,
int
height = 600);
11
~FrameBuffer
();
12
13
void
Begin();
14
uint32_t End();
15
16
uint32_t GetColorTexture();
17
uint32_t GetDepthTexture();
18
uint32_t GetRendererID();
19
20
inline
int
GetWidth()
21
{
22
return
width;
23
}
24
inline
int
GetHeight()
25
{
26
return
height;
27
}
28
29
private
:
30
uint32_t colorTexture, depthTexture, fbo;
31
int
width, height;
32
};
FrameBuffer
Definition:
FrameBuffer.h:6
TerraForge3D
include
Base
FrameBuffer.h
Generated on Thu Apr 7 2022 14:10:49 for TerraForge3D by
1.9.3