Struct ExposureSettings ​
Namespace: ValveResourceFormat.Renderer.SceneEnvironment
Assembly: Renderer.dll
Automatic exposure adjustment parameters for adaptive brightness.
public struct ExposureSettingsConstructors ​
ExposureSettings() ​
Initializes a new with default values.
public ExposureSettings()Properties ​
AutoExposureEnabled ​
Gets or sets whether automatic eye adaptation is active.
public bool AutoExposureEnabled { readonly get; set; }Property Value ​
ExposureCompensation ​
Gets the exposure compensation bias added on top of the adapted value.
public float ExposureCompensation { readonly get; init; }Property Value ​
ExposureMax ​
Gets the maximum allowed exposure value.
public float ExposureMax { readonly get; init; }Property Value ​
ExposureMin ​
Gets the minimum allowed exposure value.
public float ExposureMin { readonly get; init; }Property Value ​
ExposureSmoothingRange ​
Gets the luminance smoothing range used to dampen rapid exposure changes.
public float ExposureSmoothingRange { readonly get; init; }Property Value ​
ExposureSpeedDown ​
Gets the rate at which exposure adapts toward darker scenes.
public float ExposureSpeedDown { readonly get; init; }Property Value ​
ExposureSpeedUp ​
Gets the rate at which exposure adapts toward brighter scenes.
public float ExposureSpeedUp { readonly get; init; }Property Value ​
Methods ​
Blend(float, in ExposureSettings, in ExposureSettings) ​
Linearly interpolates the numeric fields between two exposure settings.
public static ExposureSettings Blend(float weight, in ExposureSettings a, in ExposureSettings b)Parameters ​
weight float
Blend factor in the range [0, 1]; 0 returns a, 1 returns b.
The first (start) exposure settings.
The second (end) exposure settings.
Returns ​
LoadFromEntity(Entity) ​
Creates an populated from entity key-value properties.
public static ExposureSettings LoadFromEntity(EntityLump.Entity entity)Parameters ​
entity EntityLump.Entity

