mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-07 02:00:49 +00:00
33 lines
577 B
C++
33 lines
577 B
C++
#pragma once
|
|
#pragma once
|
|
|
|
#include "r_defs.h"
|
|
#include "m_fixed.h"
|
|
#include "gl_clipper.h"
|
|
#include "gl_portal.h"
|
|
#include "gl/renderer/gl_lightdata.h"
|
|
#include "gl/renderer/gl_renderer.h"
|
|
#include "r_utility.h"
|
|
#include "c_cvars.h"
|
|
|
|
class FSWSceneTexture;
|
|
|
|
class SWSceneDrawer
|
|
{
|
|
FTexture *PaletteTexture = nullptr;
|
|
FSWSceneTexture *FBTexture = nullptr;
|
|
bool FBIsTruecolor = false;
|
|
|
|
|
|
void BlendView (player_t *CPlayer, float blend[4]);
|
|
bool CreateResources();
|
|
void BindFBBuffer();
|
|
|
|
|
|
public:
|
|
SWSceneDrawer();
|
|
~SWSceneDrawer();
|
|
|
|
void RenderView(player_t *player);
|
|
};
|
|
|