#include <hps.h>
Classes | |
| class | Color |
| class | Texture |
Public Types | |
| enum | Type { Type::InvalidMaterialIndex = -1, Type::Nothing = 0, Type::FullMaterial, Type::ExplicitRGBColor, Type::ExplicitRGBAColor, Type::MaterialIndex, Type::TextureName, Type::ModulatedTexture, Type::CubeMapName, Type::ModulatedCubeMap, Type::GlossValue, Type::DiffuseChannelAlpha } |
| enum | Channel { 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 } |
The Material class is a concept class for material-related enum classes.
|
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. |
|
strong |
Enumerates the types of materials that can be set on various Visualize entities.
| Enumerator | |
|---|---|
| InvalidMaterialIndex |
An invalid material index was set. |
| Nothing |
No material was set. |
| FullMaterial |
A full material was set. The MaterialKit is valid. |
| ExplicitRGBColor |
An RGB color was set. The RGBColor is valid. |
| ExplicitRGBAColor |
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. |