View Source Evision.TonemapReinhard (Evision v0.2.9)

Summary

Types

t()

Type that represents an TonemapReinhard struct.

Types

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

Type that represents an TonemapReinhard struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

getColorAdaptation(named_args)

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

getColorAdaptation

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

Python prototype (for reference only):

getColorAdaptation() -> retval
Link to this function

getIntensity(named_args)

View Source
@spec getIntensity(Keyword.t()) :: any() | {:error, String.t()}
@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(named_args)

View Source
@spec getLightAdaptation(Keyword.t()) :: any() | {:error, String.t()}
@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(named_args)

View Source
@spec setColorAdaptation(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setColorAdaptation(self, color_adapt)

View Source
@spec setColorAdaptation(t(), number()) :: t() | {: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(named_args)

View Source
@spec setIntensity(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setIntensity(self, intensity)

View Source
@spec setIntensity(t(), number()) :: t() | {: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(named_args)

View Source
@spec setLightAdaptation(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

setLightAdaptation(self, light_adapt)

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

setLightAdaptation

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

Python prototype (for reference only):

setLightAdaptation(light_adapt) -> None