Twitch SDK (Internal)
Static Public Member Functions | List of all members
ttv::RoundingDitherer 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 that simply rounds values, which is essentially no dithering at all.

Member Function Documentation

◆ DitherFloatValue()

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

◆ DitherFractionalValue()

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

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