Avogadro::Rendering::SolidPipeline#
-
class SolidPipeline#
Public Functions
-
SolidPipeline()#
-
~SolidPipeline()#
-
SolidPipeline(const SolidPipeline&) = delete#
Probably don’t want to support copy/assignment.
-
SolidPipeline &operator=(const SolidPipeline&) = delete#
-
void initialize()#
Initialize OpenGL objects.
-
void begin()#
Begin solid geometry rendering.
-
void end()#
End solid geometry rendering and apply screen-space shaders.
-
void resize(int width, int height)#
Resize buffers for width x height viewport.
-
void setPixelRatio(float ratio)#
Set pixel ratio (1.0 on standard displays, 2.0 on Retina, etc.).
-
inline bool getAoEnabled()#
Get or set whether Ambient Occlusion is enabled.
-
inline void setAoEnabled(bool enabled)#
-
inline bool getDofEnabled()#
Get or set whether Depth-of-feild is enabled.
-
inline void setDofEnabled(bool enabled)#
-
inline bool getFogEnabled()#
Get or set whether Fog is enabled.
-
inline void setFogEnabled(bool enabled)#
-
inline Vector4ub backgroundColor() const#
Set Background Color to it’s current value.
-
inline void setBackgroundColor(const Vector4ub &c)#
-
inline float getAoStrength()#
Get or set shadow strength for Ambient Occlusion.
-
inline void setAoStrength(float strength)#
-
inline float getFogStrength()#
Get or set fog strength.
-
inline void setFogStrength(float strength)#
-
inline float getFogPosition()#
Get or set fog position.
-
inline void setFogPosition(float position)#
-
inline bool getEdEnabled()#
Get or set whether Edge Detection is enabled.
-
inline void setEdEnabled(bool enabled)#
-
inline float getDofStrength()#
Get or set dof strength.
-
inline void setDofStrength(float strength)#
-
inline float getDofPosition()#
Set positon of dof.
-
inline void setDofPosition(float position)#
-
inline bool getEdStrength()#
Get or set the strength of the edge effect.
-
inline void setEdStrength(float strength)#
-
SolidPipeline()#