Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mitsuba::math::AliasTableEntry< QuantizedScalar, Index > Struct Template Reference

Alias sampling data structure (see makeAliasTable() for details) More...

#include <mitsuba/core/pmf.h>

Public Attributes

QuantizedScalar prob
 Probability of sampling the current entry. More...
 
Index index
 Index of the alias entry. More...
 

Detailed Description

template<typename QuantizedScalar, typename Index>
struct mitsuba::math::AliasTableEntry< QuantizedScalar, Index >

Alias sampling data structure (see makeAliasTable() for details)

Member Data Documentation

template<typename QuantizedScalar, typename Index>
Index mitsuba::math::AliasTableEntry< QuantizedScalar, Index >::index

Index of the alias entry.

template<typename QuantizedScalar, typename Index>
QuantizedScalar mitsuba::math::AliasTableEntry< QuantizedScalar, Index >::prob

Probability of sampling the current entry.


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