Loading...
Searching...
No Matches
lightingShader.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_LIGHTING_SHADER_H
8#define PXR_IMAGING_HD_ST_LIGHTING_SHADER_H
9
10#include "pxr/pxr.h"
11#include "pxr/imaging/hdSt/api.h"
12#include "pxr/imaging/hdSt/shaderCode.h"
14
15PXR_NAMESPACE_OPEN_SCOPE
16
17using HdStLightingShaderSharedPtr = std::shared_ptr<class HdStLightingShader>;
18
24public:
25 HDST_API
27 HDST_API
28 virtual ~HdStLightingShader();
29
31 virtual void SetCamera(GfMatrix4d const &worldToViewMatrix,
32 GfMatrix4d const &projectionMatrix) = 0;
33
34private:
35
36 // No copying
37 HdStLightingShader(const HdStLightingShader &) = delete;
38 HdStLightingShader &operator =(const HdStLightingShader &) = delete;
39};
40
41
42PXR_NAMESPACE_CLOSE_SCOPE
43
44#endif // PXR_IMAGING_HD_ST_LIGHTING_SHADER_H
Stores a 4x4 matrix of double elements.
Definition: matrix4d.h:71
A lighting shader base class.
virtual void SetCamera(GfMatrix4d const &worldToViewMatrix, GfMatrix4d const &projectionMatrix)=0
Sets camera state.
A base class representing the implementation (code) of a shader, used in conjunction with HdRenderPas...
Definition: shaderCode.h:59