Mercurial > hg > forks > gldragon
comparison dmrender.h @ 77:cc1c35357e39
Build system cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 14 Jan 2020 03:03:01 +0200 |
parents | 9ee0edff3940 |
children | 28dd29f3a65f |
comparison
equal
deleted
inserted
replaced
76:9ee0edff3940 | 77:cc1c35357e39 |
---|---|
98 } | 98 } |
99 } | 99 } |
100 return true; | 100 return true; |
101 } | 101 } |
102 | 102 |
103 virtual bool deleteModelShaders(DMModel &model) | |
104 { | |
105 (void) model; | |
106 return false; | |
107 } | |
108 | |
109 virtual bool deleteSceneShaders(DMSimpleScene &scene) | |
110 { | |
111 if (useShaders) | |
112 { | |
113 for (DMModel &model : scene.models) | |
114 { | |
115 if (!deleteModelShaders(model)) | |
116 return false; | |
117 } | |
118 } | |
119 return true; | |
120 } | |
121 | |
103 virtual bool setupLight(const int n, DMLight &light) | 122 virtual bool setupLight(const int n, DMLight &light) |
104 { | 123 { |
105 (void) n; | 124 (void) n; |
106 (void) light; | 125 (void) light; |
107 return true; | 126 return true; |