View Source Evision.TonemapReinhard (Evision v0.1.17)

Link to this section Summary

Types

t()

Type that represents an Evision.TonemapReinhard struct.

Link to this section Types

@type t() :: %Evision.TonemapReinhard{ref: reference()}

Type that represents an Evision.TonemapReinhard struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

Link to this function

getColorAdaptation(self)

View Source
@spec getColorAdaptation(t()) :: number() | {:error, String.t()}

getColorAdaptation

Positional Arguments
  • self: Evision.TonemapReinhard.t()
Return
  • retval: float

Python prototype (for reference only):

getColorAdaptation() -> retval
@spec getIntensity(t()) :: number() | {:error, String.t()}

getIntensity

Positional Arguments
  • self: Evision.TonemapReinhard.t()
Return
  • retval: float

Python prototype (for reference only):

getIntensity() -> retval
Link to this function

getLightAdaptation(self)

View Source
@spec getLightAdaptation(t()) :: number() | {:error, String.t()}

getLightAdaptation

Positional Arguments
  • self: Evision.TonemapReinhard.t()
Return
  • retval: float

Python prototype (for reference only):

getLightAdaptation() -> retval
Link to this function

setColorAdaptation(self, color_adapt)

View Source
@spec setColorAdaptation(t(), number()) :: :ok | {:error, String.t()}

setColorAdaptation

Positional Arguments
  • self: Evision.TonemapReinhard.t()
  • color_adapt: float

Python prototype (for reference only):

setColorAdaptation(color_adapt) -> None
Link to this function

setIntensity(self, intensity)

View Source
@spec setIntensity(t(), number()) :: :ok | {:error, String.t()}

setIntensity

Positional Arguments
  • self: Evision.TonemapReinhard.t()
  • intensity: float

Python prototype (for reference only):

setIntensity(intensity) -> None
Link to this function

setLightAdaptation(self, light_adapt)

View Source
@spec setLightAdaptation(t(), number()) :: :ok | {:error, String.t()}

setLightAdaptation

Positional Arguments
  • self: Evision.TonemapReinhard.t()
  • light_adapt: float

Python prototype (for reference only):

setLightAdaptation(light_adapt) -> None