PeriDyno 1.0.0
Loading...
Searching...
No Matches
GLPhotorealisticRender.h
Go to the documentation of this file.
1
16
17#pragma once
18
19#include "GLVisualModule.h"
20
24
26
27#ifdef CUDA_BACKEND
29#endif
30
31namespace dyno
32{
34 {
36 public:
38 ~GLPhotorealisticRender() override;
39
40 public:
41 virtual std::string caption() override;
42
43 public:
44 DEF_VAR(uint, MaterialIndex, 0, "");
45
47
48 protected:
49 virtual void updateImpl() override;
50
51 virtual void paintGL(const RenderParams& rparams) override;
52 virtual void updateGL() override;
53 virtual bool initializeGL() override;
54 virtual void releaseGL() override;
55
56
57 protected:
60
62
66
68
70
71#ifdef CUDA_BACKEND
72 std::shared_ptr<ConstructTangentSpace> mTangentSpaceConstructor;
73#endif
74 };
75};
#define DECLARE_CLASS(name)
Definition Object.h:65
DEF_INSTANCE_IN(TextureMesh, TextureMesh, "")
DEF_VAR(uint, MaterialIndex, 0, "")
virtual std::string caption() override
Return the caption.
XBuffer< Transform3f > mShapeTransform
virtual void paintGL(const RenderParams &rparams) override
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
unsigned int uint
Definition VkProgram.h:14