simvx.graphics.renderer.bloom_pass¶
Bloom post-processing — extract bright pixels, blur, composite.
Module Contents¶
Classes¶
Two-pass bloom: bright-pixel extraction + separable Gaussian blur. |
Data¶
API¶
- simvx.graphics.renderer.bloom_pass.__all__¶
[‘BloomPass’]
- simvx.graphics.renderer.bloom_pass.log¶
‘getLogger(…)’
- class simvx.graphics.renderer.bloom_pass.BloomPass(engine: Any)¶
Two-pass bloom: bright-pixel extraction + separable Gaussian blur.
Operates at half resolution for performance. Ping-pongs between two render targets for multi-pass blur.
Initialization
- property bloom_image_view: Any¶
Final bloom result image view (for tonemap compositing).
- setup(hdr_view: Any) None¶
Initialize bloom targets, shaders, and pipelines.
- render(cmd: Any) None¶
Execute bloom: extract → blur H → blur V (repeated).
- resize(width: int, height: int, hdr_view: Any) None¶
Recreate bloom targets for new dimensions.
- cleanup() None¶
Release all GPU resources.