41 void after()
override;
44 float scale()
const {
return _scale; }
47 std::shared_ptr<RenderTarget> createSsaoRenderTarget(
const std::string& name,
48 std::shared_ptr<Texture>& outTexture)
const;
50 Texture* _sourceTexture =
nullptr;
52 bool _blurEnabled =
true;
55 std::shared_ptr<Texture> _ssaoTexture;
56 std::shared_ptr<RenderTarget> _ssaoRenderTarget;
59 std::shared_ptr<Texture> _blurTempTexture;
60 std::shared_ptr<RenderTarget> _blurTempRenderTarget;
61 std::shared_ptr<RenderPassDepthAwareBlur> _blurPassH;
62 std::shared_ptr<RenderPassDepthAwareBlur> _blurPassV;
64 float _blueNoiseValue = 0.0f;
GPU texture resource supporting 2D, cubemap, volume, and array formats with mipmap management.