Files
LifeProject/LifeGraphics/renderpath/IRenderPathShadow.h
T
2025-05-13 02:46:21 +03:00

28 lines
634 B
C++

#ifndef IRenderPathShadow_h__
#define IRenderPathShadow_h__
#include "renderpath/IRenderPath.h"
#include "Light.h"
#include "ShadowMapManager.h"
#include "queries/IFrustumQuery.h"
namespace LifeGraphics { namespace RenderPath
{
class IRenderPathShadow : public IRenderPath
{
public:
IRenderPathShadow(ShadowMapManager* sm)
{
pShadowManager = sm;
}
virtual ~IRenderPathShadow() {}
virtual void SetLight(const Light& _light) = 0;
protected:
Light light;
ShadowMapManager* pShadowManager;
IConstantBuffer* cbCamera;
IConstantBuffer* cbLight;
IFrustumQuery frustumQuery;
};
}}
#endif // IRenderPathShadow_h__