Vixen
02b45cc4

TonemapKeys

class
csharp
public static class TonemapKeys

Typed keys for shader Tonemap.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (81)

  • public const string ShaderName

    The shader's name, as the effect system asks for it.

  • public static readonly PermutationKey<int> Operator

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly PermutationKey<bool> UseLut

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly PermutationKey<bool> EncodeSrgb

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly PermutationKey<bool> UseExposureBuffer

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly PermutationKey<bool> UseBloom

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly PermutationKey<bool> UseColorGrading

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly ParameterKey[] UsedPermutationKeys

    The permutation keys that actually change the generated code.

  • public static readonly ParameterKey<TextureViewHandle> Source

    set 2, binding 1.

  • public const int SourceSet

    Which descriptor set holds source.

  • public const uint SourceBinding

    Which binding within set 2 source occupies.

  • public static readonly ParameterKey<TextureViewHandle> Lut

    set 2, binding 2.

  • public const int LutSet

    Which descriptor set holds lut.

  • public const uint LutBinding

    Which binding within set 2 lut occupies.

  • public static readonly ParameterKey<TextureViewHandle> Bloom

    set 2, binding 3.

  • public const int BloomSet

    Which descriptor set holds bloom.

  • public const uint BloomBinding

    Which binding within set 2 bloom occupies.

  • public static readonly ParameterKey<TextureViewHandle> BloomDirt

    set 2, binding 4.

  • public const int BloomDirtSet

    Which descriptor set holds bloomDirt.

  • public const uint BloomDirtBinding

    Which binding within set 2 bloomDirt occupies.

  • public static readonly ParameterKey<SamplerHandle> SourceSampler

    set 2, binding 5.

  • public const int SourceSamplerSet

    Which descriptor set holds sourceSampler.

  • public const uint SourceSamplerBinding

    Which binding within set 2 sourceSampler occupies.

  • public static readonly ParameterKey<SamplerHandle> LutSampler

    set 2, binding 6.

  • public const int LutSamplerSet

    Which descriptor set holds lutSampler.

  • public const uint LutSamplerBinding

    Which binding within set 2 lutSampler occupies.

  • public static readonly ParameterKey<SamplerHandle> BloomSampler

    set 2, binding 7.

  • public const int BloomSamplerSet

    Which descriptor set holds bloomSampler.

  • public const uint BloomSamplerBinding

    Which binding within set 2 bloomSampler occupies.

  • public static readonly ParameterKey<SamplerHandle> BloomDirtSampler

    set 2, binding 8.

  • public const int BloomDirtSamplerSet

    Which descriptor set holds bloomDirtSampler.

  • public const uint BloomDirtSamplerBinding

    Which binding within set 2 bloomDirtSampler occupies.

  • public static readonly ParameterKey<BufferHandle> ExposureBuffer

    set 2, binding 9.

  • public const int ExposureBufferSet

    Which descriptor set holds exposureBuffer.

  • public const uint ExposureBufferBinding

    Which binding within set 2 exposureBuffer occupies.

  • public static readonly ParameterKey<float> BloomIntensity

    bloomIntensity at byte 0, declared 0.2.

  • public static readonly ParameterKey<Vector3> BloomTint

    bloomTint at byte 16, declared 1, 1, 1.

  • public static readonly ParameterKey<float> BloomDirtIntensity

    bloomDirtIntensity at byte 28, declared 0.

  • public static readonly ParameterKey<float> Exposure

    exposure at byte 32, declared 1.

  • public static readonly ParameterKey<float> ExposureCompensation

    exposureCompensation at byte 36, declared 0.

  • public static readonly ParameterKey<float> WhitePoint

    whitePoint at byte 40, declared 4.

  • public static readonly ParameterKey<float> Contrast

    contrast at byte 44, declared 1.

  • public static readonly ParameterKey<float> Saturation

    saturation at byte 48, declared 1.

  • public static readonly ParameterKey<Vector3> WhiteBalance

    whiteBalance at byte 64, declared 1, 1, 1.

  • public static readonly ParameterKey<Vector3> ColorFilter

    colorFilter at byte 80, declared 1, 1, 1.

  • public static readonly ParameterKey<float> HueShift

    hueShift at byte 92, declared 0.

  • public static readonly ParameterKey<Vector3> ShadowTint

    shadowTint at byte 96, declared 1, 1, 1.

  • public static readonly ParameterKey<Vector3> HighlightTint

    highlightTint at byte 112, declared 1, 1, 1.

  • public static readonly ParameterKey<float> SplitBalance

    splitBalance at byte 124, declared 0.

  • public static readonly ParameterKey<float> GradeGlobalSaturation

    gradeGlobalSaturation at byte 128, declared 1.

  • public static readonly ParameterKey<float> GradeGlobalContrast

    gradeGlobalContrast at byte 132, declared 1.

  • public static readonly ParameterKey<Vector3> GradeGlobalGamma

    gradeGlobalGamma at byte 144, declared 1, 1, 1.

  • public static readonly ParameterKey<Vector3> GradeGlobalGain

    gradeGlobalGain at byte 160, declared 1, 1, 1.

  • public static readonly ParameterKey<Vector3> GradeGlobalOffset

    gradeGlobalOffset at byte 176, declared 0, 0, 0.

  • public static readonly ParameterKey<float> GradeShadowSaturation

    gradeShadowSaturation at byte 188, declared 1.

  • public static readonly ParameterKey<float> GradeShadowContrast

    gradeShadowContrast at byte 192, declared 1.

  • public static readonly ParameterKey<Vector3> GradeShadowGamma

    gradeShadowGamma at byte 208, declared 1, 1, 1.

  • public static readonly ParameterKey<Vector3> GradeShadowGain

    gradeShadowGain at byte 224, declared 1, 1, 1.

  • public static readonly ParameterKey<Vector3> GradeShadowOffset

    gradeShadowOffset at byte 240, declared 0, 0, 0.

  • public static readonly ParameterKey<float> GradeMidtoneSaturation

    gradeMidtoneSaturation at byte 252, declared 1.

  • public static readonly ParameterKey<float> GradeMidtoneContrast

    gradeMidtoneContrast at byte 256, declared 1.

  • public static readonly ParameterKey<Vector3> GradeMidtoneGamma

    gradeMidtoneGamma at byte 272, declared 1, 1, 1.

  • public static readonly ParameterKey<Vector3> GradeMidtoneGain

    gradeMidtoneGain at byte 288, declared 1, 1, 1.

  • public static readonly ParameterKey<Vector3> GradeMidtoneOffset

    gradeMidtoneOffset at byte 304, declared 0, 0, 0.

  • public static readonly ParameterKey<float> GradeHighlightSaturation

    gradeHighlightSaturation at byte 316, declared 1.

  • public static readonly ParameterKey<float> GradeHighlightContrast

    gradeHighlightContrast at byte 320, declared 1.

  • public static readonly ParameterKey<Vector3> GradeHighlightGamma

    gradeHighlightGamma at byte 336, declared 1, 1, 1.

  • public static readonly ParameterKey<Vector3> GradeHighlightGain

    gradeHighlightGain at byte 352, declared 1, 1, 1.

  • public static readonly ParameterKey<Vector3> GradeHighlightOffset

    gradeHighlightOffset at byte 368, declared 0, 0, 0.

  • public static readonly ParameterKey<float> GradeShadowsMax

    gradeShadowsMax at byte 380, declared 0.09.

  • public static readonly ParameterKey<float> GradeHighlightsMin

    gradeHighlightsMin at byte 384, declared 0.5.

  • public static readonly ParameterKey<float> FilmicShoulderStrength

    filmicShoulderStrength at byte 388, declared 0.15.

  • public static readonly ParameterKey<float> FilmicLinearStrength

    filmicLinearStrength at byte 392, declared 0.5.

  • public static readonly ParameterKey<float> FilmicLinearAngle

    filmicLinearAngle at byte 396, declared 0.1.

  • public static readonly ParameterKey<float> FilmicToeStrength

    filmicToeStrength at byte 400, declared 0.2.

  • public static readonly ParameterKey<float> FilmicToeNumerator

    filmicToeNumerator at byte 404, declared 0.02.

  • public static readonly ParameterKey<float> FilmicToeDenominator

    filmicToeDenominator at byte 408, declared 0.3.

  • public static readonly ParameterKey<float> LutSize

    lutSize at byte 412, declared 32.

  • public const int ConstantBufferSize

    The uniform block's size in bytes — what to allocate.

  • public const int ConstantBufferSet

    Which descriptor set holds the uniform block.

  • public const uint ConstantBufferBinding

    Which binding within set 2 the uniform block occupies.

Used by (7)

  • AutoExposureTestsVixen.Rendering.PostFx.Tests
  • BloomTestsVixen.Rendering.PostFx.Tests
  • CompositorImageTestsVixen.Graphics.Golden.Tests
  • PostEffectTestsVixen.Rendering.PostFx.Tests
  • PostProcessTestsVixen.Rendering.Tests
  • TonemapVixen.Graphics.Golden.Tests
  • TonemapRendererVixen.Rendering.PostFx