Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::detail Namespace Reference

Implementation detail mainly for internal usages. More...

Concepts

concept  CPrimitiveMetaGetter
 
concept  CPrimitiveGetter
 

Typedefs

using EmitterFlagIntType = uint8
 
using SurfaceHitReasonIntType = uint8
 

Functions

std::shared_ptr< ISdlResourceload_single_resource (const SdlClass *resourceClass, const Path &file)
 
void save_single_resource (const std::shared_ptr< ISdlResource > &resource, const Path &file)
 

Variables

constexpr auto efs_zero_bounce_sample_bits = math::flag_bit<uint8, 1>()
 
constexpr auto efs_bsdf_sample_bits = math::flag_bit<uint8, 2>()
 
constexpr auto efs_direct_sample_bits = math::flag_bit<uint8, 3>()
 
constexpr auto efs_emission_sample_bits = math::flag_bit<uint8, 4>()
 
constexpr auto shr_unknown_bits = math::flag_bit<uint8, 0>()
 
constexpr auto shr_incident_ray_bits = math::flag_bit<uint8, 1>()
 
constexpr auto shr_sampled_pos_bits = math::flag_bit<uint8, 2>()
 
constexpr auto shr_sampled_dir_bits = math::flag_bit<uint8, 3>()
 

Detailed Description

Implementation detail mainly for internal usages.

Typedef Documentation

◆ EmitterFlagIntType

◆ SurfaceHitReasonIntType

Function Documentation

◆ load_single_resource()

std::shared_ptr< ISdlResource > ph::detail::load_single_resource ( const SdlClass * resourceClass,
const Path & file )

◆ save_single_resource()

void ph::detail::save_single_resource ( const std::shared_ptr< ISdlResource > & resource,
const Path & file )

Variable Documentation

◆ efs_bsdf_sample_bits

auto ph::detail::efs_bsdf_sample_bits = math::flag_bit<uint8, 2>()
inlineconstexpr

◆ efs_direct_sample_bits

auto ph::detail::efs_direct_sample_bits = math::flag_bit<uint8, 3>()
inlineconstexpr

◆ efs_emission_sample_bits

auto ph::detail::efs_emission_sample_bits = math::flag_bit<uint8, 4>()
inlineconstexpr

◆ efs_zero_bounce_sample_bits

auto ph::detail::efs_zero_bounce_sample_bits = math::flag_bit<uint8, 1>()
inlineconstexpr

◆ shr_incident_ray_bits

auto ph::detail::shr_incident_ray_bits = math::flag_bit<uint8, 1>()
inlineconstexpr

◆ shr_sampled_dir_bits

auto ph::detail::shr_sampled_dir_bits = math::flag_bit<uint8, 3>()
inlineconstexpr

◆ shr_sampled_pos_bits

auto ph::detail::shr_sampled_pos_bits = math::flag_bit<uint8, 2>()
inlineconstexpr

◆ shr_unknown_bits

auto ph::detail::shr_unknown_bits = math::flag_bit<uint8, 0>()
inlineconstexpr