24 #ifndef PXR_IMAGING_HDX_SIMPLE_LIGHT_TASK_H
25 #define PXR_IMAGING_HDX_SIMPLE_LIGHT_TASK_H
51 std::shared_ptr<class HdStSimpleLightingShader>;
53 std::shared_ptr<class HdxShadowMatrixComputation>;
83 std::vector<GfMatrix4d> _ComputeShadowMatrices(
88 std::map<TfToken, SdfPathVector> _lightIds;
93 unsigned _sprimIndexVersion;
94 unsigned _settingsVersion;
101 std::pair<bool, CameraUtilConformWindowPolicy> _overrideWindowPolicy;
117 bool _rebuildLightingBufferSources;
118 bool _rebuildLightAndShadowBufferSources;
119 bool _rebuildMaterialBufferSources;
125 std::map<TfToken, SdfPathVector> *lights);
127 HdxSimpleLightTask() =
delete;
128 HdxSimpleLightTask(
const HdxSimpleLightTask &) =
delete;
129 HdxSimpleLightTask &operator =(
const HdxSimpleLightTask &) =
delete;
197 #endif //PXR_IMAGING_HDX_SIMPLE_LIGHT_TASK_H
TF_DECLARE_REF_PTRS(GlfSimpleShadowArray)
std::shared_ptr< class HdRenderPass > HdRenderPassSharedPtr
HDX_API std::ostream & operator<<(std::ostream &out, const HdxSimpleLightTaskParams &pv)
std::shared_ptr< class HdxShadowMatrixComputation > HdxShadowMatrixComputationSharedPtr
GLenum GLenum GLsizei const GLuint GLboolean enabled
HDX_API void Sync(HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override
Sync the render pass resources.
std::pair< bool, CameraUtilConformWindowPolicy > overrideWindowPolicy
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
std::vector< TfToken > TfTokenVector
Convenience types.
GlfSimpleMaterial material
std::vector< class SdfPath > SdfPathVector
A vector of SdfPaths.
HDX_API void Execute(HdTaskContext *ctx) override
Execute render pass task.
std::unordered_map< TfToken, VtValue, TfToken::HashFunctor > HdTaskContext
std::shared_ptr< class HdStSimpleLightingShader > HdStSimpleLightingShaderSharedPtr
HDX_API void Prepare(HdTaskContext *ctx, HdRenderIndex *renderIndex) override
Prepare the tasks resources.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
CameraUtilFraming framing
HDX_API ~HdxSimpleLightTask() override
#define PXR_NAMESPACE_CLOSE_SCOPE
std::shared_ptr< HdBufferArrayRange > HdBufferArrayRangeSharedPtr
SdfPathVector lightExcludePaths
SdfPathVector lightIncludePaths
HdxShadowMatrixComputationSharedPtr shadowMatrix
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
std::vector< class GlfSimpleLight > GlfSimpleLightVector
HdxSimpleLightTaskParams()