Fermat
Static Public Methods | Public Members | List of all members
MeshMaterial Struct Reference

Detailed description

The class to represent materials attached to a mesh

#include <MeshView.h>

Static Public Methods

static FERMAT_HOST_DEVICE MeshMaterial zero_material ()
 

Public Members

float4 diffuse
 
float4 diffuse_trans
 
float4 ambient
 
float4 specular
 
float4 emissive
 
float4 reflectivity
 
float roughness
 
float index_of_refraction
 
float opacity
 
int flags
 
TextureReference ambient_map
 
TextureReference diffuse_map
 
TextureReference diffuse_trans_map
 
TextureReference specular_map
 
TextureReference emissive_map
 
TextureReference bump_map
 

The documentation for this struct was generated from the following file: