6#ifndef PXR_IMAGING_PLUGIN_HD_EMBREE_LIGHT_SAMPLERS_H
7#define PXR_IMAGING_PLUGIN_HD_EMBREE_LIGHT_SAMPLERS_H
12#include "pxr/imaging/plugin/hdEmbree/light.h"
14PXR_NAMESPACE_OPEN_SCOPE
28 static LightSample GetLightSample(
29 HdEmbree_LightData
const& lightData,
36 LightSample operator()(HdEmbree_UnknownLight
const& rect);
37 LightSample operator()(HdEmbree_Rect
const& rect);
38 LightSample operator()(HdEmbree_Sphere
const& sphere);
39 LightSample operator()(HdEmbree_Disk
const& disk);
40 LightSample operator()(HdEmbree_Cylinder
const& cylinder);
48 _lightData(lightData),
49 _hitPosition(hitPosition),
55 HdEmbree_LightData
const& _lightData;
62PXR_NAMESPACE_CLOSE_SCOPE
Basic type for a vector of 3 float components.
Utility class to help sample Embree lights for direct lighting.