Changeset View
Changeset View
Standalone View
Standalone View
source/renderer/PostprocManager.h
Context not available. | |||||
// Triggers update of shaders and FBO if needed. | // Triggers update of shaders and FBO if needed. | ||||
void UpdateAntiAliasingTechnique(); | void UpdateAntiAliasingTechnique(); | ||||
void UpdateSharpeningTechnique(); | |||||
void UpdateSharpnessFactor(); | |||||
void SetDepthBufferClipPlanes(float nearPlane, float farPlane); | void SetDepthBufferClipPlanes(float nearPlane, float farPlane); | ||||
Context not available. | |||||
CStrW m_PostProcEffect; | CStrW m_PostProcEffect; | ||||
CShaderTechniquePtr m_PostProcTech; | CShaderTechniquePtr m_PostProcTech; | ||||
CStr m_SharpName; | |||||
CShaderTechniquePtr m_SharpTech; | |||||
float m_Sharpness; | |||||
vladislavbelov: AFAIK `m_Sharpness` can be not initiliazed after `CFG_GET_VAL("sharpness", m_Sharpness);`, so… | |||||
Done Inline ActionsI initialize it now with the default value. OptimusShepard: I initialize it now with the default value. | |||||
CStr m_AAName; | CStr m_AAName; | ||||
CShaderTechniquePtr m_AATech; | CShaderTechniquePtr m_AATech; | ||||
Context not available. |
Wildfire Games · Phabricator
AFAIK m_Sharpness can be not initiliazed after CFG_GET_VAL("sharpness", m_Sharpness);, so I'd suggest to initialize in constructor.