24 #ifndef PXR_IMAGING_GLF_SIMPLE_MATERIAL_H 25 #define PXR_IMAGING_GLF_SIMPLE_MATERIAL_H 30 #include "pxr/imaging/glf/api.h" 33 PXR_NAMESPACE_OPEN_SCOPE
36 class GlfSimpleMaterial final {
44 GfVec4f const & GetAmbient()
const;
46 void SetAmbient(
GfVec4f const & ambient);
49 GfVec4f const & GetDiffuse()
const;
51 void SetDiffuse(
GfVec4f const & diffuse);
54 GfVec4f const & GetSpecular()
const;
56 void SetSpecular(
GfVec4f const & specular);
59 GfVec4f const & GetEmission()
const;
61 void SetEmission(
GfVec4f const & specular);
64 double GetShininess()
const;
66 void SetShininess(
double specular);
69 bool operator ==(GlfSimpleMaterial
const & other)
const;
71 bool operator !=(GlfSimpleMaterial
const & other)
const;
82 PXR_NAMESPACE_CLOSE_SCOPE
Basic type for a vector of 4 float components.
VT_API bool operator==(VtDictionary const &, VtDictionary const &)
Equality comparison.