Table of Contents

Class PostProcessRenderer

Namespace
ValveResourceFormat.Renderer
Assembly
Renderer.dll

Post-processing renderer for tonemapping, color grading, and adaptive exposure.

public class PostProcessRenderer

Inheritance

Inherited Members

Constructors

PostProcessRenderer(RendererContext)

public PostProcessRenderer(RendererContext rendererContext)

Parameters

rendererContext RendererContext

Properties

AverageLuminance

public float AverageLuminance { get; set; }

Property Value

float

Bloom

public BloomRenderer Bloom { get; }

Property Value

BloomRenderer

BlueNoise

public RenderTexture? BlueNoise { get; set; }

Property Value

RenderTexture?

ColorCorrectionEnabled

public bool ColorCorrectionEnabled { get; set; }

Property Value

bool

CurrentExposure

public float CurrentExposure { get; }

Property Value

float

CustomExposure

public float CustomExposure { get; set; }

Property Value

float

DOF

public DOFRenderer DOF { get; }

Property Value

DOFRenderer

DefaultColorFormat

public static Framebuffer.AttachmentFormat DefaultColorFormat { get; }

Property Value

Framebuffer.AttachmentFormat

Enabled

public bool Enabled { get; set; }

Property Value

bool

ExposureHistory

public List<float> ExposureHistory { get; }

Property Value

List<float>

HasOutlineObjects

public bool HasOutlineObjects { get; set; }

Property Value

bool

State

public PostProcessState State { get; set; }

Property Value

PostProcessState

TargetExposure

public float TargetExposure { get; }

Property Value

float

TonemapScalar

public float TonemapScalar { get; set; }

Property Value

float

Methods

CalculateTonemapScalar(float)

public void CalculateTonemapScalar(float deltaTime)

Parameters

deltaTime float

Load()

public void Load()

Render(Framebuffer, Framebuffer, Camera, bool)

public void Render(Framebuffer colorBufferRead, Framebuffer colorBufferDraw, Camera camera, bool flipY)

Parameters

colorBufferRead Framebuffer
colorBufferDraw Framebuffer
camera Camera
flipY bool