Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::Material Class Reference

The Material class is a concept class for material-related enum classes. More...

#include <hps.h>

Classes

class  Color
 The Material Color Class. More...
 
class  Texture
 The Material::Texture class is a concept class for texture-related enum classes. More...
 

Public Types

enum  Type : uint32_t {
  Type::None = 0,
  Type::FullMaterial,
  Type::RGBColor,
  Type::RGBAColor,
  Type::MaterialIndex,
  Type::TextureName,
  Type::ModulatedTexture,
  Type::CubeMapName,
  Type::ModulatedCubeMap,
  Type::GlossValue,
  Type::DiffuseChannelAlpha
}
 Enumerates the types of materials that can be set on various Visualize entities. More...
 
enum  Channel : uint32_t {
  Channel::DiffuseColor = 1,
  Channel::DiffuseTexture = 2,
  Channel::Specular = 3,
  Channel::Emission = 4,
  Channel::Transmission = 5,
  Channel::Mirror = 6,
  Channel::Bump = 7,
  Channel::EnvironmentTexture = 8,
  Channel::EnvironmentCubeMap = 9,
  Channel::Gloss = 10
}
 Material Channel. More...
 

Private Member Functions

 Material ()
 

Detailed Description

The Material class is a concept class for material-related enum classes.

Member Enumeration Documentation

◆ Channel

enum HPS::Material::Channel : uint32_t
strong

Material Channel.

Enumerator
DiffuseColor 

Material Channel.

DiffuseTexture 

Material Channel.

Specular 

Material Channel.

Emission 

Material Channel.

Transmission 

Material Channel.

Mirror 

Material Channel.

Bump 

Material Channel.

EnvironmentTexture 

Material Channel.

EnvironmentCubeMap 

Material Channel.

Gloss 

Material Channel.

◆ Type

enum HPS::Material::Type : uint32_t
strong

Enumerates the types of materials that can be set on various Visualize entities.

Enumerator
None 

No material was set.

FullMaterial 

A full material was set.

The MaterialKit is valid.

RGBColor 

An RGB color was set.

The RGBColor is valid.

RGBAColor 

An RGBA color was set.

The RGBAColor is valid.

MaterialIndex 

A material index was set.

The material index (float value) is valid.

TextureName 

An unmodulated texture was set.

The texture name is valid.

ModulatedTexture 

A modulated texture was set.

Both the RGBColor (or RGBAColor) and texture name are valid.

CubeMapName 

An unmodulated cube map texture was set.

The cube map texture name is valid.

ModulatedCubeMap 

A modulated cube map was set.

Both the RGBColor (or RGBAColor) and cube map texture name are valid.

GlossValue 

A gloss value was set.

The gloss (float value) is valid.

DiffuseChannelAlpha 

An alpha value was set.

The alpha (float value) is valid.

Constructor & Destructor Documentation

◆ Material()

HPS::Material::Material ( )
inlineprivate

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