Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
surface_optics_fwd.h File Reference
#include "Math/math.h"
#include "Utility/TBitFlags.h"
#include <Common/primitive_type.h>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  ph
 The root for all renderer implementations.
 

Typedefs

using ph::SurfacePhenomena = TEnumFlags<ESurfacePhenomenon>
 
using ph::SurfaceElemental = int
 

Enumerations

enum class  ph::ESurfacePhenomenon : uint32 {
  ph::DiffuseReflection = math::flag_bit<uint32, 0>() , ph::NearDiffuseReflection = math::flag_bit<uint32, 1>() , ph::DeltaReflection = math::flag_bit<uint32, 2>() , ph::GlossyReflection = math::flag_bit<uint32, 3>() ,
  ph::DiffuseTransmission = math::flag_bit<uint32, 4>() , ph::NearDiffuseTransmission = math::flag_bit<uint32, 5>() , ph::DeltaTransmission = math::flag_bit<uint32, 6>() , ph::GlossyTransmission = math::flag_bit<uint32, 7>()
}
 Available surface phenomena. More...
 

Functions

 ph::PH_DEFINE_INLINE_ENUM_FLAG_OPERATORS (ESurfacePhenomenon)
 

Variables

constexpr ESurfacePhenomenon ph::ALL_SURFACE_PHENOMENA
 
constexpr ESurfacePhenomenon ph::DIFFUSE_SURFACE_PHENOMENA
 
constexpr ESurfacePhenomenon ph::DELTA_SURFACE_PHENOMENA
 
constexpr ESurfacePhenomenon ph::GLOSSY_SURFACE_PHENOMENA
 
constexpr SurfaceElemental ph::ALL_SURFACE_ELEMENTALS = -1