summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Asura.Engine/Graphics/Canvas.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Asura.Engine/Graphics/Canvas.h b/Source/Asura.Engine/Graphics/Canvas.h
index fc8a527..c8faacf 100644
--- a/Source/Asura.Engine/Graphics/Canvas.h
+++ b/Source/Asura.Engine/Graphics/Canvas.h
@@ -23,6 +23,11 @@ namespace AsuraEngine
Canvas();
///
+ /// render textureĴС
+ ///
+ void Init(uint w, uint h);
+
+ ///
/// 󶨴canvasΪ
///
void Bind();