summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/image.h
diff options
context:
space:
mode:
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;
+
};
}