Loading...
Searching...
No Matches
glslfxShader.h
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_IMAGING_HD_ST_GLSLFX_SHADER_H
8#define PXR_IMAGING_HD_ST_GLSLFX_SHADER_H
9
10#include "pxr/pxr.h"
11#include "pxr/imaging/hdSt/api.h"
12#include "pxr/imaging/hd/version.h"
13#include "pxr/imaging/hdSt/materialNetworkShader.h"
14
15PXR_NAMESPACE_OPEN_SCOPE
16
17using HioGlslfxSharedPtr = std::shared_ptr<class HioGlslfx>;
18
24class HdStGLSLFXShader final : public HdSt_MaterialNetworkShader
25{
26public:
27 HDST_API
28 HdStGLSLFXShader(HioGlslfxSharedPtr const& glslfx);
29 HDST_API
30 ~HdStGLSLFXShader() override;
31
33 HDST_API
34 void Reload() override;
35
36private:
37 HioGlslfxSharedPtr _glslfx;
38};
39
40
41PXR_NAMESPACE_CLOSE_SCOPE
42
43#endif //PXR_IMAGING_HD_ST_GLSLFX_SHADER_H
A simple specialization of HdSt_MaterialNetworkShader used to load the built-in fallback material net...
Definition: glslfxShader.h:25
HDST_API void Reload() override
If the prim is based on asset, reload that asset.