Class PhysicalMaterial#

Inheritance Relationships#

Base Type#

Class Documentation#

class PhysicalMaterial : public Karana::Core::Base#

A standard PBR material.

Public Functions

PhysicalMaterial(const PhysicalMaterialInfo &mat)#

Constructor for a PhysicalMaterial

Parameters:

mat – the parameter struct

~PhysicalMaterial()#

Destructor for PhysicalMaterial

Public Members

const PhysicalMaterialInfo info#

Parameters for the materials.

Public Static Functions

static Karana::Core::ks_ptr<PhysicalMaterial> create(const PhysicalMaterialInfo &mat)#

Create a PhysicalMaterial.

Parameters:

mat – the parameter struct

Returns:

The created PhysicalMaterial