Twitch SDK (Internal)
Static Public Member Functions | List of all members
ttv::RectangularDitherer Struct Reference

#include <ditherers.h>

Static Public Member Functions

template<typename FloatingPointType >
static FloatingPointType DitherFloatValue (FloatingPointType value)
 
template<typename IntegerType >
static IntegerType DitherFractionalValue (IntegerType numerator, IntegerType denominator)
 

Detailed Description

A ditherer with a rectangular noise function.

Member Function Documentation

◆ DitherFloatValue()

template<typename FloatingPointType >
static FloatingPointType ttv::RectangularDitherer::DitherFloatValue ( FloatingPointType  value)
inlinestatic

◆ DitherFractionalValue()

template<typename IntegerType >
static IntegerType ttv::RectangularDitherer::DitherFractionalValue ( IntegerType  numerator,
IntegerType  denominator 
)
inlinestatic

The documentation for this struct was generated from the following file: