summaryrefslogtreecommitdiff
path: root/src/core/framebuffer.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-12-15 00:39:18 +0800
committerchai <chaifix@163.com>2019-12-15 00:39:18 +0800
commit749bbc6a54e50c297ab49d9e515a3679651d1461 (patch)
tree097bbe044332e816aa481db1a4e325b8d3f63b0d /src/core/framebuffer.h
parent3f44877edfe4c301b258d522bcb4e8d9b6e92382 (diff)
*misc
Diffstat (limited to 'src/core/framebuffer.h')
-rw-r--r--src/core/framebuffer.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/framebuffer.h b/src/core/framebuffer.h
new file mode 100644
index 0000000..3f03200
--- /dev/null
+++ b/src/core/framebuffer.h
@@ -0,0 +1,16 @@
+#ifndef _SOFTSHADEROOM_FRAMEBUFFER_H_
+#define _SOFTSHADEROOM_FRAMEBUFFER_H_
+
+#include "texture.h"
+
+/*frame buffer object*/
+
+typedef Texture RenderTexture;
+
+typedef struct FrameBuffer{
+ RenderTexture rt;
+} FrameBuffer;
+
+FrameBuffer* fbo_create(uint height, uint width);
+
+#endif \ No newline at end of file