summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/image.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-04-08 22:31:12 +0800
committerchai <chaifix@163.com>2019-04-08 22:31:12 +0800
commit4ea4bbfcb03091cb987dc151d41980ec16f3d18d (patch)
treebdbe56d8c570b5f243744fbfc5a6cdd2c4f6dc4f /source/modules/asura-core/graphics/image.h
parente47baca4f23db43ec91fbf64d5d06d7c0dbee495 (diff)
*misc
Diffstat (limited to 'source/modules/asura-core/graphics/image.h')
-rw-r--r--source/modules/asura-core/graphics/image.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/source/modules/asura-core/graphics/image.h b/source/modules/asura-core/graphics/image.h
index d3cca4b..abb8a1a 100644
--- a/source/modules/asura-core/graphics/image.h
+++ b/source/modules/asura-core/graphics/image.h
@@ -14,6 +14,7 @@
#include "color.h"
#include "color32.h"
#include "render_state.h"
+#include "gpu_buffer.h"
namespace AsuraEngine
{
@@ -43,9 +44,11 @@ namespace AsuraEngine
uint GetWidth();
uint GetHeight();
-
- void Render(const RenderTarget* rt, const RenderState& state) override {};
- void Render(const RenderTarget* rt, const AEMath::Rectf& quad, const RenderState& state) override {};
+/*
+ void Render(const RenderTarget* rt, const RenderState& state) {};
+ void Render(const RenderTarget* rt, const AEMath::Rectf& quad, const RenderState& state) {};
+*/
+ void UpdateBuffer();
private:
@@ -65,6 +68,11 @@ namespace AsuraEngine
uint32 mWidth, mHeight;
+ ///
+ /// 壬positionUV
+ ///
+ GPUBuffer* mVBO;
+
};
}