Facebook Twitter YouTube

class MicrofacetAttribute

Defined in:  TSAttributes.h
The MicrofacetAttribute class represents the material attribute for microfacet shading.
Definition

class MicrofacetAttribute final : public Attribute

Constructor

MicrofacetAttribute(const ColorRGBA& color, const Vector2D& slope, float reflectivity, unsigned_int32 flags = 0);

Parameters
color The microfacet color.
slope The average microfacet slope in the two tangent directions.
reflectivity The microfacet reflectivity.
flags The initial attribute flags. See the Attribute::SetAttributeFlags function.
Description


Base Classes
Attribute A MicrofacetAttribute is a specific type of attribute.
See Also

ColorRGBA