34 std::shared_ptr<Texture> createTexture(
const std::string& name,
PixelFormat format)
const;
35 std::shared_ptr<RenderTarget> createRenderTarget(
const std::string& name,
PixelFormat format,
36 std::shared_ptr<Texture>& outColorTexture)
const;
39 Texture* _sceneTexture =
nullptr;
40 Texture* _sceneTextureHalf =
nullptr;
42 std::shared_ptr<RenderPassCoC> _cocPass;
43 std::shared_ptr<RenderPassDownsample> _farPass;
44 std::shared_ptr<RenderPassDofBlur> _blurPass;
46 std::shared_ptr<Texture> _cocTexture;
47 std::shared_ptr<Texture> _farTexture;
48 std::shared_ptr<Texture> _blurTexture;
49 std::shared_ptr<RenderTarget> _cocTarget;
50 std::shared_ptr<RenderTarget> _farTarget;
51 std::shared_ptr<RenderTarget> _blurTarget;
RenderPassDof(const std::shared_ptr< GraphicsDevice > &device, CameraComponent *cameraComponent, Texture *sceneTexture, Texture *sceneTextureHalf, bool highQuality, bool nearBlur)
GPU texture resource supporting 2D, cubemap, volume, and array formats with mipmap management.