tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
sampler.hpp File Reference

Go to the source code of this file.

Data Structures

struct  tpbrt::sampler_halton_params
 C++ wrapper for tpbrt_sampler_halton_params_t. More...
 
struct  tpbrt::sampler_independent_params
 C++ wrapper for tpbrt_sampler_independent_params_t. More...
 
struct  tpbrt::sampler_padded_sobol_params
 C++ wrapper for tpbrt_sampler_padded_sobol_params_t. More...
 
struct  tpbrt::sampler_sobol_params
 C++ wrapper for tpbrt_sampler_sobol_params_t. More...
 
struct  tpbrt::sampler_stratified_params
 C++ wrapper for tpbrt_sampler_stratified_params_t. More...
 
struct  tpbrt::sampler_z_sobol_params
 C++ wrapper for tpbrt_sampler_z_sobol_params_t. More...
 
struct  tpbrt::sampler
 C++ wrapper for tpbrt_sampler_t. More...
 

Namespaces

namespace  tpbrt
 

Macros

#define _TINYPBRT_SAMPLERS_HPP_
 

Enumerations

enum class  tpbrt::sampler_type : uchar_t {
  tpbrt::sampler_type::HALTON = TPBRT_SAMPLER_TYPE_HALTON , tpbrt::sampler_type::INDEPENDENT = TPBRT_SAMPLER_TYPE_INDEPENDENT , tpbrt::sampler_type::PADDED_SOBOL = TPBRT_SAMPLER_TYPE_PADDED_SOBOL , tpbrt::sampler_type::SOBOL = TPBRT_SAMPLER_TYPE_SOBOL ,
  tpbrt::sampler_type::STRATIFIED = TPBRT_SAMPLER_TYPE_STRATIFIED , tpbrt::sampler_type::Z_SOBOL = TPBRT_SAMPLER_TYPE_Z_SOBOL , tpbrt::sampler_type::MAX_NUM = TPBRT_SAMPLER_TYPE_MAX_NUM
}
 Sampler types. More...
 
enum class  tpbrt::sampler_random : uchar_t {
  tpbrt::sampler_random::NONE = TPBRT_SAMPLER_RANDOM_NONE , tpbrt::sampler_random::PERMUTE_DIGITS = TPBRT_SAMPLER_RANDOM_PERMUTE_DIGITS , tpbrt::sampler_random::OWEN = TPBRT_SAMPLER_RANDOM_OWEN , tpbrt::sampler_random::FAST_OWEN = TPBRT_SAMPLER_RANDOM_FAST_OWEN ,
  tpbrt::sampler_random::MAX_NUM = TPBRT_SAMPLER_RANDOM_MAX_NUM
}
 Sampler types. More...
 

Functions

constexpr std::string_view tpbrt::to_string (const sampler_type type) noexcept
 Converts sampler_type enum value to string.
 
constexpr std::string_view tpbrt::to_string (const sampler_random random) noexcept
 Converts sampler_random enum value to string.
 

Macro Definition Documentation

◆ _TINYPBRT_SAMPLERS_HPP_

#define _TINYPBRT_SAMPLERS_HPP_