HPL3/Amnesia: Rebirth/Scripting/cPostEffect ToneMapping

From Frictional Wiki
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

cPostEffect_ToneMapping has no public fields.

Functions

Return Type Function And Description
void FadeExposure(float afExposure, float afWhiteCut, float afTime)
void FadeWindowExposure(float afExposure, float afWhiteCut)
bool GetBloomActive()
bool GetColorGradingActive()
float GetExposure()
bool GetFilmGrainActive()
void GetParams(float &out afKey, float &out afGammaCorrection, float &out afFilmGrainIntensity, float &out afBrightPass, float &out afBloomWidth, cColor &out avBloomTint, float &out afBloomFalloff)
float GetTransitionTime()
bool IsActive()
bool IsDisabled()
void RemoveGradingTexture(const tString &in asTexture)
void Reset()
void SetActive(bool abX)
void SetBloomActive(bool abX)
void SetColorGradingActive(bool abX)
void SetDisabled(bool abX)
void SetFilmGrainActive(bool abX)
void SetGradingTexture(int alPrio, const tString &in asTexture, float afAlpha)
void SetParams(float afKey, float afGammaCorrection, float afFilmGrainIntensity, float afBrightPass, float afBloomWidth, const cColor &in avBloomTint, float afBloomFalloff)
void SetSRGBGamma(bool abX)

Details

FadeExposure

void FadeExposure(float afExposure,
                  float afWhiteCut,
                  float afTime)


Parameters

  • afExposure (float) —
  • afWhiteCut (float) —
  • afTime (float) —

Returns:

  • void

FadeWindowExposure

void FadeWindowExposure(float afExposure,
                        float afWhiteCut)


Parameters

  • afExposure (float) —
  • afWhiteCut (float) —

Returns:

  • void

GetBloomActive

bool GetBloomActive()

Returns:

  • bool

GetColorGradingActive

bool GetColorGradingActive()

Returns:

  • bool

GetExposure

float GetExposure()

Returns:

  • float

GetFilmGrainActive

bool GetFilmGrainActive()

Returns:

  • bool

GetParams

void GetParams(float &out afKey,
               float &out afGammaCorrection,
               float &out afFilmGrainIntensity,
               float &out afBrightPass,
               float &out afBloomWidth,
               cColor &out avBloomTint,
               float &out afBloomFalloff)


Parameters

  • afKey (float) —
  • afGammaCorrection (float) —
  • afFilmGrainIntensity (float) —
  • afBrightPass (float) —
  • afBloomWidth (float) —
  • avBloomTint (cColor) —
  • afBloomFalloff (float) —

Returns:

  • void

GetTransitionTime

float GetTransitionTime()

Returns:

  • float

IsActive

bool IsActive()

Returns:

  • bool

IsDisabled

bool IsDisabled()

Returns:

  • bool

RemoveGradingTexture

void RemoveGradingTexture(const tString &in asTexture)


Parameters

Returns:

  • void

Reset

void Reset()

Returns:

  • void

SetActive

void SetActive(bool abX)


Parameters

  • abX (bool) —

Returns:

  • void

SetBloomActive

void SetBloomActive(bool abX)


Parameters

  • abX (bool) —

Returns:

  • void

SetColorGradingActive

void SetColorGradingActive(bool abX)


Parameters

  • abX (bool) —

Returns:

  • void

SetDisabled

void SetDisabled(bool abX)


Parameters

  • abX (bool) —

Returns:

  • void

SetFilmGrainActive

void SetFilmGrainActive(bool abX)


Parameters

  • abX (bool) —

Returns:

  • void

SetGradingTexture

void SetGradingTexture(int alPrio,
                       const tString &in asTexture,
                       float afAlpha)


Parameters

  • alPrio (int) —
  • asTexture (tString) —
  • afAlpha (float) —

Returns:

  • void

SetParams

void SetParams(float afKey,
               float afGammaCorrection,
               float afFilmGrainIntensity,
               float afBrightPass,
               float afBloomWidth,
               const cColor &in avBloomTint,
               float afBloomFalloff)


Parameters

  • afKey (float) —
  • afGammaCorrection (float) —
  • afFilmGrainIntensity (float) —
  • afBrightPass (float) —
  • afBloomWidth (float) —
  • avBloomTint (cColor) —
  • afBloomFalloff (float) —

Returns:

  • void

SetSRGBGamma

void SetSRGBGamma(bool abX)


Parameters

  • abX (bool) —

Returns:

  • void

References

See all references...