Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
DepthAtlasFrameBuffer.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <glad/glad.h>
4#include <memory>
5
7
8namespace shkyera {
9
40
41} // namespace shkyera
Definition DepthAtlasFrameBuffer.hpp:10
GLuint _rbo
Definition DepthAtlasFrameBuffer.hpp:37
void setupFramebuffer()
Definition DepthAtlasFrameBuffer.cpp:100
void bind()
Definition DepthAtlasFrameBuffer.cpp:71
DepthAtlasFrameBuffer(const DepthAtlasFrameBuffer &other)=delete
void unbind()
Definition DepthAtlasFrameBuffer.cpp:76
void clear()
Definition DepthAtlasFrameBuffer.cpp:80
int getNumberOfTextures() const
Definition DepthAtlasFrameBuffer.cpp:61
const Texture & getTexture() const
Definition DepthAtlasFrameBuffer.hpp:28
int _height
Definition DepthAtlasFrameBuffer.hpp:36
~DepthAtlasFrameBuffer()
Definition DepthAtlasFrameBuffer.cpp:52
int _texturesInAtlas
Definition DepthAtlasFrameBuffer.hpp:35
void setSize(uint32_t width, uint32_t height)
Definition DepthAtlasFrameBuffer.cpp:87
Texture _textureDepthBuffer
Definition DepthAtlasFrameBuffer.hpp:38
DepthAtlasFrameBuffer & operator=(const DepthAtlasFrameBuffer &other)=delete
int _width
Definition DepthAtlasFrameBuffer.hpp:36
GLuint _fbo
Definition DepthAtlasFrameBuffer.hpp:37
Definition Texture.hpp:9
Definition Asset.hpp:6
Definition Clock.hpp:9