7 #ifndef PXR_IMAGING_GLF_SIMPLE_LIGHT_H 
    8 #define PXR_IMAGING_GLF_SIMPLE_LIGHT_H 
   21 #include "pxr/base/vt/array.h" 
  166                               std::string 
const & shaderSource,
 
  167                               VtUCharArray 
const & shaderParams);
 
  203     bool operator ==(GlfSimpleLight 
const &other) 
const;
 
  205     bool operator !=(GlfSimpleLight 
const &other) 
const;
 
  209     friend std::ostream & 
operator <<(std::ostream &out,
 
  210                                       const GlfSimpleLight& 
v);
 
  219     bool _isCameraSpaceLight;
 
  223     int _shadowResolution;
 
  226     int _shadowIndexStart;
 
  230     std::vector<GfMatrix4d> _shadowMatrices;
 
  237     TfToken _postSurfaceIdentifier;
 
  238     std::string _postSurfaceShaderSource;
 
  239     VtUCharArray _postSurfaceShaderParams;
 
  244     bool _hasExtendedAttributes;
 
  245     float _extendedIntensity;
 
  246     float _extendedAngle;
 
GLF_API void SetAmbient(GfVec4f const &ambient)
 
GLF_API void SetShadowBlur(float blur)
 
GLF_API int GetShadowIndexStart() const 
 
GLF_API bool IsDomeLight() const 
 
GLF_API GfVec3f const & GetAttenuation() const 
 
GLF_API void SetExtendedAngle(float angle)
 
GLF_API void SetSpotCutoff(float const &spotCutoff)
 
GLF_API void SetPosition(GfVec4f const &position)
 
GLF_API void SetShadowBias(float bias)
 
GLF_API int GetShadowIndexEnd() const 
 
SIM_API const UT_StringHolder angle
 
GLF_API void SetShadowIndexStart(int shadowStart)
 
GLF_API void SetShadowMatrices(std::vector< GfMatrix4d > const &matrix)
 
GLF_API bool HasIntensity() const 
 
GLF_API bool HasShadow() const 
 
GLF_API bool HasExtendedAttributes() const 
 
GLF_API void SetSpecular(GfVec4f const &specular)
 
GLF_API float GetExtendedAngle() const 
 
GLF_API VtUCharArray const & GetPostSurfaceShaderParams() const 
 
GLF_API void SetExtendedColor(GfVec3f const &color)
 
GLF_API void SetTransform(GfMatrix4d const &mat)
 
GLF_API GfMatrix4d const & GetTransform() const 
 
GLF_API void SetAttenuation(GfVec3f const &attenuation)
 
GLF_API float GetShadowBlur() const 
 
GLF_API void SetHasIntensity(bool hasIntensity)
 
GLF_API bool operator==(GlfSimpleLight const &other) const 
 
GLF_API std::vector< GfMatrix4d > const & GetShadowMatrices() const 
 
GLF_API void SetHasShadow(bool hasShadow)
 
GLF_API float GetShadowBias() const 
 
GLF_API void SetDiffuse(GfVec4f const &diffuse)
 
GLF_API void SetHasExtendedAttributes(bool hasExtendedAttributes)
 
GLF_API ~GlfSimpleLight()
 
GLF_API std::ostream & operator<<(std::ostream &out, const GlfSimpleLight &v)
 
GLF_API friend std::ostream & operator<<(std::ostream &out, const GlfSimpleLight &v)
 
GLF_API float GetExtendedIntensity() const 
 
GLF_API GfVec3f const & GetSpotDirection() const 
 
GLF_API GfVec4f const & GetDiffuse() const 
The diffuse light value is in the renderer's working color space. 
 
GLF_API GfVec4f const & GetSpecular() const 
The specular light value is in the renderer's working color space. 
 
HUSD_API const char * resolution()
 
GLF_API void SetShadowResolution(int resolution)
 
GLF_API GfVec4f const & GetAmbient() const 
The ambient light value is in the renderer's working color space. 
 
GLF_API bool operator!=(GlfSimpleLight const &other) const 
 
GLF_API GfVec4f const & GetPosition() const 
 
GLF_API void SetPostSurfaceParams(TfToken const &identifier, std::string const &shaderSource, VtUCharArray const &shaderParams)
 
GLF_API void SetID(SdfPath const &id)
 
GLF_API void SetSpotFalloff(float const &spotFalloff)
 
GLF_API SdfPath const & GetID() const 
 
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
 
GLF_API void SetShadowIndexEnd(int shadowEnd)
 
GLF_API const SdfAssetPath & GetDomeLightTextureFile() const 
 
GLF_API GlfSimpleLight(GfVec4f const &position=GfVec4f(0.0, 0.0, 0.0, 1.0))
 
GLF_API bool IsCameraSpaceLight() const 
 
SIM_API const UT_StringHolder position
 
GLF_API void SetDomeLightTextureFile(const SdfAssetPath &)
 
GLF_API int GetShadowResolution() const 
 
#define PXR_NAMESPACE_CLOSE_SCOPE
 
GLF_API float const & GetSpotFalloff() const 
 
GLF_API float const & GetSpotCutoff() const 
 
GLF_API void SetIsCameraSpaceLight(bool isCameraSpaceLight)
 
GLF_API std::string const & GetPostSurfaceShaderSource() const 
 
GLF_API void SetSpotDirection(GfVec3f const &spotDirection)
 
GLF_API void SetExtendedIntensity(float intensity)
 
GLF_API TfToken const & GetPostSurfaceIdentifier() const 
 
GLF_API void SetIsDomeLight(bool isDomeLight)
 
GLF_API GfVec3f const & GetExtendedColor() const 
 
std::vector< class GlfSimpleLight > GlfSimpleLightVector