VoxelEngine/src/graphics/core/ShadowMap.hpp
2025-05-07 20:42:50 +03:00

19 lines
278 B
C++

#pragma once
#include "typedefs.hpp"
class ShadowMap {
public:
ShadowMap(int resolution);
~ShadowMap();
void bind();
void unbind();
uint getDepthMap() const;
int getResolution() const;
private:
uint fbo;
uint depthMap;
int resolution;
};