Class PhongMaterial#

Inheritance Relationships#

Base Type#

Class Documentation#

class PhongMaterial : public Karana::Core::Base#

A standard Phong material.

See Scene layer for more discussion on the scene layer.

Public Functions

PhongMaterial(const PhongMaterialInfo &mat)#

Constructor from a PhongMaterialInfo

Parameters:

mat – the parameter struct

~PhongMaterial()#

Destructor for PhongMaterial

Public Members

const PhongMaterialInfo info#

Parameters for the materials.

Public Static Functions

static Karana::Core::ks_ptr<PhongMaterial> create(const PhongMaterialInfo &mat)#

Create a PhongMaterial.

Parameters:

mat – the parameter struct

Returns:

The created PhongMaterial