View Source Evision.TonemapDrago (Evision v0.1.14)

Link to this section Summary

Types

t()

Type that represents an Evision.TonemapDrago struct.

Functions

Return
  • retval: float

Python prototype (for reference):

Return
  • retval: float

Python prototype (for reference):

Positional Arguments
  • bias: float

Python prototype (for reference):

Positional Arguments
  • saturation: float

Python prototype (for reference):

Link to this section Types

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

Type that represents an Evision.TonemapDrago struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec getBias(t()) :: number() | {:error, String.t()}
Return
  • retval: float

Python prototype (for reference):

getBias() -> retval
@spec getSaturation(t()) :: number() | {:error, String.t()}
Return
  • retval: float

Python prototype (for reference):

getSaturation() -> retval
@spec setBias(t(), number()) :: :ok | {:error, String.t()}
Positional Arguments
  • bias: float

Python prototype (for reference):

setBias(bias) -> None
Link to this function

setSaturation(self, saturation)

View Source
@spec setSaturation(t(), number()) :: :ok | {:error, String.t()}
Positional Arguments
  • saturation: float

Python prototype (for reference):

setSaturation(saturation) -> None