Loading...
Searching...
No Matches
integrator.h
1//
2// Copyright 2023 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_INTEGRATOR_H
8#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_INTEGRATOR_H
9
10#include "pxr/pxr.h"
11#if PXR_VERSION >= 2308
12
13#include "pxr/imaging/hd/sprim.h"
14
15#include "Riley.h"
16#include "pxr/imaging/hd/material.h"
17
18PXR_NAMESPACE_OPEN_SCOPE
19
20class HdPrman_RenderParam;
21
22class HdPrman_Integrator : public HdSprim
23{
24public:
25 HdPrman_Integrator(SdfPath const& id);
26
27 void Sync(HdSceneDelegate *sceneDelegate,
28 HdRenderParam *renderParam,
29 HdDirtyBits *dirtyBits) override;
30
31 void Finalize(HdRenderParam *renderParam) override;
32
33 HdDirtyBits GetInitialDirtyBitsMask() const override;
34};
35
36
37PXR_NAMESPACE_CLOSE_SCOPE
38
39#endif // PXR_VERSION >= 2308
40
41#endif // EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_INTEGRATOR_H
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
Adapter class providing data exchange with the client scene graph.
Sprim (state prim) is a base class of managing state for non-drawable scene entity (e....
Definition: sprim.h:35
virtual HD_API void Finalize(HdRenderParam *renderParam)
Finalizes object resources.
virtual HdDirtyBits GetInitialDirtyBitsMask() const =0
Returns the minimal set of dirty bits to place in the change tracker for use in the first sync of thi...
virtual void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits)=0
Synchronizes state from the delegate to this object.
A path value used to locate objects in layers or scenegraphs.
Definition: path.h:274