HPL3/Amnesia: Rebirth/Scripting/cPostEffect ToneMapping
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 FadeExposure
- 3.2 FadeWindowExposure
- 3.3 GetBloomActive
- 3.4 GetColorGradingActive
- 3.5 GetExposure
- 3.6 GetFilmGrainActive
- 3.7 GetParams
- 3.8 GetTransitionTime
- 3.9 IsActive
- 3.10 IsDisabled
- 3.11 RemoveGradingTexture
- 3.12 Reset
- 3.13 SetActive
- 3.14 SetBloomActive
- 3.15 SetColorGradingActive
- 3.16 SetDisabled
- 3.17 SetFilmGrainActive
- 3.18 SetGradingTexture
- 3.19 SetParams
- 3.20 SetSRGBGamma
- 4 References
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
- asTexture (tString) —
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