summaryrefslogtreecommitdiff
path: root/Runner/Graphics/FrameBuffer.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-09-10 20:30:31 +0800
committerchai <chaifix@163.com>2020-09-10 20:30:31 +0800
commit639b34294ffc20721c66db46e59e07d9100ac4b8 (patch)
tree7e1d45b536fa35e9f1559e468ea66fca99524573 /Runner/Graphics/FrameBuffer.cpp
*init
Diffstat (limited to 'Runner/Graphics/FrameBuffer.cpp')
-rw-r--r--Runner/Graphics/FrameBuffer.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Runner/Graphics/FrameBuffer.cpp b/Runner/Graphics/FrameBuffer.cpp
new file mode 100644
index 0000000..e675aab
--- /dev/null
+++ b/Runner/Graphics/FrameBuffer.cpp
@@ -0,0 +1,12 @@
+#include "FrameBuffer.h"
+
+// 有些版本的OpenGL不支持绑定多个RT
+bool FrameBuffer::BindRenderTexture(RenderTexture* rt, int location /* = 0 */)
+{
+
+}
+
+bool FrameBuffer::Blit(FrameBuffer* target)
+{
+
+}