public

Inheritance Graph

graph BT
	Material
	click Material "classMinSG_1_1PathTracing_1_1Material"

Description

Public Functions

   
   
  Material()
   
  Material(const TextureWrapper & diffuse, const TextureWrapper & normal, const TextureWrapper & specular, const TextureWrapper & shininess, const Util::Color4f & emission)
   
Util::Color4f getDiffuse(const Geometry::Vec2 & uv) const
   
Geometry::Vec3 getNormal(const Geometry::Vec2 & uv) const
   
Util::Color4f getSpecular(const Geometry::Vec2 & uv) const
   
float getShininess(const Geometry::Vec2 & uv) const
   
Util::Color4f getEmission() const
   
bool isEmissive() const

Public Static Functions

   
   
Material * createFromNode( Node * node)

Documentation

function
MinSG::PathTracing::Material::Material

public
   
   
Material( )

Defined in MinSG/Ext/PathTracing/Material.h:39


function
MinSG::PathTracing::Material::Material

public
     
     
Material( const TextureWrapper & diffuse,
  const TextureWrapper & normal,
  const TextureWrapper & specular,
  const TextureWrapper & shininess,
  const Util::Color4f & emission
)    

Defined in MinSG/Ext/PathTracing/Material.h:40


function
MinSG::PathTracing::Material::getDiffuse

public const
     
     
Util::Color4f getDiffuse( const Geometry::Vec2 & uv ) const

Defined in MinSG/Ext/PathTracing/Material.h:43


function
MinSG::PathTracing::Material::getNormal

public const
     
     
Geometry::Vec3 getNormal( const Geometry::Vec2 & uv ) const

Defined in MinSG/Ext/PathTracing/Material.h:44


function
MinSG::PathTracing::Material::getSpecular

public const
     
     
Util::Color4f getSpecular( const Geometry::Vec2 & uv ) const

Defined in MinSG/Ext/PathTracing/Material.h:45


function
MinSG::PathTracing::Material::getShininess

public const
     
     
float getShininess( const Geometry::Vec2 & uv ) const

Defined in MinSG/Ext/PathTracing/Material.h:46


function
MinSG::PathTracing::Material::getEmission

public const
   
   
Util::Color4f getEmission( ) const

Defined in MinSG/Ext/PathTracing/Material.h:47


function
MinSG::PathTracing::Material::isEmissive

public const
   
   
bool isEmissive( ) const

Defined in MinSG/Ext/PathTracing/Material.h:49


function
MinSG::PathTracing::Material::createFromNode

public static
     
     
Material * createFromNode( Node * node )

Defined in MinSG/Ext/PathTracing/Material.h:51