Path Tracer
Functions
Material.cpp File Reference
#include "Material.h"
Include dependency graph for Material.cpp:

Functions

std::ostream & operator<< (std::ostream &stream, const Material &material)
 Ostream operator. More...
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  stream,
const Material material 
)

Ostream operator.

Calls the Material::getDescription() method.

Parameters
streamThe ostream before.
materialThe material that will be added to the stream.
Returns
The stream with the material added.
See also
Material::getDescription()