version 1.2.0
fixed framebuffer size feature
This commit is contained in:
@@ -170,6 +170,10 @@ public:
|
||||
QSize shadowMapSize() const;
|
||||
QSize textureMapSize() const;
|
||||
|
||||
void setFramebufferSize(QSize sz) { framebuffer_size = sz; }
|
||||
void resetFramebufferSize() { framebuffer_size = QSize(); }
|
||||
QSize framebufferSize() const { return framebuffer_size; }
|
||||
|
||||
int softShadowsSamples() const { return soft_shadows_samples; }
|
||||
void setSoftShadowsSamples(int s) { soft_shadows_samples = s; }
|
||||
float softShadowsQuality() const { return soft_shadows_quality; }
|
||||
@@ -216,7 +220,7 @@ private:
|
||||
GLint max_anisotropic, max_texture_chanels;
|
||||
RenderMode render_mode;
|
||||
QFlags<Renderer::GrabFormat> grab_formats;
|
||||
QSize prev_size, shadow_map_size;
|
||||
QSize prev_size, shadow_map_size, framebuffer_size;
|
||||
float lineWidth_, soft_shadows_quality;
|
||||
float fps_, fps_tm, fogDensity_, fogDecay_;
|
||||
float hoverHaloFill_, selectionHaloFill_, m_motionBlurFactor;
|
||||
|
||||
Reference in New Issue
Block a user