AbstractPostProcessingEffect is the abstract base class for Kuesa post processing effects. More...
Header: | #include <Kuesa/AbstractPostProcessingEffect> |
Since: | Kuesa 1.0 |
Inherited By: | Kuesa::BloomEffect, Kuesa::DepthOfFieldEffect, Kuesa::GaussianBlurEffect, Kuesa::OpacityMask, Kuesa::ThresholdEffect, and Kuesa::ToneMappingAndGammaCorrectionEffect |
This class was introduced in Kuesa 1.0.
virtual void | setCamera(Qt3DCore::QEntity *camera) |
virtual void | setDepthTexture(Qt3DRender::QAbstractTexture *texture) |
virtual void | setWindowSize(const QSize &sceneSize) |
Kuesa::AbstractPostProcessingEffect::Type | type() const |
[virtual]
void AbstractPostProcessingEffect::setCamera(Qt3DCore::QEntity *camera)Sets the camera entity to camera for this effect. This is set automatically by the ForwardRenderer when the effect is added.
[virtual]
void AbstractPostProcessingEffect::setDepthTexture(Qt3DRender::QAbstractTexture *texture)Sets the depth texture to texture for this effect. The texture contain the depth of the rendered scene that the effect will be applied to. This is set automatically by the ForwardRenderer when the effect is added.
[virtual]
void AbstractPostProcessingEffect::setWindowSize(const QSize &sceneSize)Sets the sceneSize of the rendered scene (in pixels) that the effect will be applied to. This is necessary for effects to render correctly.
Returns the post processing effect's type.