Class BloomRenderer
Namespace: ValveResourceFormat.Renderer.PostProcess
Assembly: Renderer.dll
Post-processing renderer that creates bloom effects using multi-pass Gaussian blur.
csharp
public class BloomRendererInheritance
Constructors
BloomRenderer(RendererContext, PostProcessRenderer)
Initializes a new using the given renderer context and post-process renderer.
csharp
public BloomRenderer(RendererContext rendererContext, PostProcessRenderer postProcessRenderer)Parameters
rendererContext RendererContext
The renderer context providing shader loading and mesh buffer access.
postProcessRenderer PostProcessRenderer
The owning post-process renderer, used for shared state and format.
Fields
BloomMipCount
Number of mip levels in the bloom accumulation buffer.
csharp
public const int BloomMipCount = 4Field Value
Properties
AccumulationResult
Gets the texture containing the final composited bloom result after the upsample passes.
csharp
public RenderTexture? AccumulationResult { get; }Property Value
Methods
Load()
Loads bloom shaders and allocates ping-pong and accumulation framebuffers.
csharp
public void Load()Render(RenderTexture)
Renders multi-pass bloom from the resolved scene color into .
csharp
public void Render(RenderTexture input)Parameters
input RenderTexture

