mirror of https://github.com/ZDoom/gzdoom.git
- Make members private that are not used outside FGLRenderBuffers
This commit is contained in:
parent
092b2953ea
commit
ebae12e74b
|
@ -1,5 +1,5 @@
|
||||||
#ifndef __GL_RENDERBUFFERS_H
|
|
||||||
#define __GL_RENDERBUFFERS_H
|
#pragma once
|
||||||
|
|
||||||
#include "gl/shaders/gl_shader.h"
|
#include "gl/shaders/gl_shader.h"
|
||||||
#include "hwrenderer/postprocessing/hw_postprocess.h"
|
#include "hwrenderer/postprocessing/hw_postprocess.h"
|
||||||
|
@ -68,10 +68,6 @@ public:
|
||||||
void CompileEffectShaders();
|
void CompileEffectShaders();
|
||||||
void RenderEffect(const FString &name);
|
void RenderEffect(const FString &name);
|
||||||
|
|
||||||
TMap<PPTextureName, PPGLTexture> GLTextures;
|
|
||||||
TMap<PPTextureName, PPGLFrameBuffer> GLTextureFBs;
|
|
||||||
TMap<PPShaderName, std::shared_ptr<FShaderProgram>> GLShaders;
|
|
||||||
|
|
||||||
void BindSceneFB(bool sceneData);
|
void BindSceneFB(bool sceneData);
|
||||||
void BindSceneColorTexture(int index);
|
void BindSceneColorTexture(int index);
|
||||||
void BindSceneFogTexture(int index);
|
void BindSceneFogTexture(int index);
|
||||||
|
@ -161,7 +157,10 @@ private:
|
||||||
PPGLFrameBuffer mShadowMapFB;
|
PPGLFrameBuffer mShadowMapFB;
|
||||||
int mCurrentShadowMapSize = 0;
|
int mCurrentShadowMapSize = 0;
|
||||||
|
|
||||||
|
// Postprocess OpenGL objects
|
||||||
|
TMap<PPTextureName, PPGLTexture> GLTextures;
|
||||||
|
TMap<PPTextureName, PPGLFrameBuffer> GLTextureFBs;
|
||||||
|
TMap<PPShaderName, std::shared_ptr<FShaderProgram>> GLShaders;
|
||||||
|
|
||||||
static bool FailedCreate;
|
static bool FailedCreate;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue