24 void setBlurLevel(
const int value) { _blurLevel = std::max(value, 1); }
27 void destroyRenderTargets(
int startIndex = 0);
28 void destroyRenderPasses();
29 std::shared_ptr<RenderTarget> createRenderTarget(
int index, std::shared_ptr<Texture>& outTexture)
const;
30 void createRenderTargets(
int count);
31 int calcMipLevels(uint32_t width, uint32_t height,
int minSize)
const;
32 void createRenderPasses(
int numPasses);
34 Texture* _sourceTexture =
nullptr;
37 std::shared_ptr<RenderTarget> _bloomRenderTarget;
38 Texture* _bloomTexture =
nullptr;
39 std::vector<std::shared_ptr<RenderTarget>> _renderTargets;
43 std::shared_ptr<Texture> _bloomColorTexture;
44 std::vector<std::shared_ptr<Texture>> _ownedTextures;
GPU texture resource supporting 2D, cubemap, volume, and array formats with mipmap management.