Class PhysicalMaterial#
Defined in File Material.h
Inheritance Relationships#
Base Type#
public Karana::Core::Base(Class Base)
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
-
PhysicalMaterial(const PhysicalMaterialInfo &mat)#