Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::BsdfSampleInput Class Referencefinal

Input for BsdfSampleQuery. More...

#include <BsdfSampleQuery.h>

Public Member Functions

void set (const BsdfEvalInput &evalInput)
 
void set (const SurfaceHit &X, const math::Vector3R &V)
 
const SurfaceHitgetX () const
 
const math::Vector3RgetV () const
 

Detailed Description

Input for BsdfSampleQuery.

Member Function Documentation

◆ getV()

const math::Vector3R & ph::BsdfSampleInput::getV ( ) const
inline
Returns
Direction (normalized) of the exiting ray.

◆ getX()

const SurfaceHit & ph::BsdfSampleInput::getX ( ) const
inline

◆ set() [1/2]

void ph::BsdfSampleInput::set ( const BsdfEvalInput & evalInput)

◆ set() [2/2]

void ph::BsdfSampleInput::set ( const SurfaceHit & X,
const math::Vector3R & V )
inline

The documentation for this class was generated from the following files: