gzdoom-gles/src/swrenderer/r_swscene.h

28 lines
473 B
C
Raw Normal View History

2018-04-07 17:41:21 +00:00
#pragma once
#pragma once
#include "r_defs.h"
#include "m_fixed.h"
#include "hwrenderer/scene/hw_clipper.h"
2018-04-07 17:41:21 +00:00
#include "r_utility.h"
#include "c_cvars.h"
#include <memory>
2018-04-07 17:41:21 +00:00
class FWrapperTexture;
2018-04-07 17:41:21 +00:00
class SWSceneDrawer
{
FTexture *PaletteTexture;
std::unique_ptr<FWrapperTexture> FBTexture[2];
int FBTextureIndex = 0;
2018-04-07 17:41:21 +00:00
bool FBIsTruecolor = false;
std::unique_ptr<DCanvas> Canvas;
2018-04-07 17:41:21 +00:00
public:
SWSceneDrawer();
~SWSceneDrawer();
sector_t *RenderView(player_t *player);
2018-04-07 17:41:21 +00:00
};