gzdoom-gles/src/gl/dynlights/gl_shadowmap.h

25 lines
351 B
C
Raw Normal View History

#pragma once
#include "gl/dynlights/gl_lightbsp.h"
class FShadowMap
{
public:
FShadowMap() { }
~FShadowMap() { Clear(); }
void Clear();
void Update();
private:
void UploadLights();
FLightBSP mLightBSP;
int mLightList = 0;
TArray<float> lights;
FShadowMap(const FShadowMap &) = delete;
FShadowMap &operator=(FShadowMap &) = delete;
};