diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2020-06-25 10:33:28 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2020-06-26 11:06:48 -0300 |
| commit | 201d606b3d348c3287f3d57d25e6eced298c2df5 (patch) | |
| tree | 1bbd204d9375dfb3b0fe07fb66b787a5aa2e79e4 /core/local_vector.h | |
| parent | b92477d77e9a6f46e4276a20a451dfac9d485f47 (diff) | |
| download | redot-engine-201d606b3d348c3287f3d57d25e6eced298c2df5.tar.gz | |
Addition of SDFGI for open world global illumination
Move GI to a deferred pass
Diffstat (limited to 'core/local_vector.h')
| -rw-r--r-- | core/local_vector.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/local_vector.h b/core/local_vector.h index 7f96b25f8b..d97f3330dc 100644 --- a/core/local_vector.h +++ b/core/local_vector.h @@ -45,6 +45,14 @@ private: T *data = nullptr; public: + T *ptr() { + return data; + } + + const T *ptr() const { + return data; + } + _FORCE_INLINE_ void push_back(T p_elem) { if (unlikely(count == capacity)) { if (capacity == 0) { |
