Raytracer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Raytracer::Interfaces::IMaterial Class Referenceabstract
Inheritance diagram for Raytracer::Interfaces::IMaterial:
Raytracer::Materials::Dielectric Raytracer::Materials::DiffuseLight Raytracer::Materials::Isotropic Raytracer::Materials::Lambertian Raytracer::Materials::Metal

Public Member Functions

virtual Utils::Color emitted (double u, double v, const Utils::Point3 &point) const =0
 
virtual bool scatter (const Core::Ray &ray, const Core::Payload &payload, Utils::Color &attenuation, Core::Ray &scattered) const =0
 

Member Function Documentation

◆ emitted()

virtual Utils::Color Raytracer::Interfaces::IMaterial::emitted ( double u,
double v,
const Utils::Point3 & point ) const
pure virtual

◆ scatter()

virtual bool Raytracer::Interfaces::IMaterial::scatter ( const Core::Ray & ray,
const Core::Payload & payload,
Utils::Color & attenuation,
Core::Ray & scattered ) const
pure virtual

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