diff options
Diffstat (limited to 'Source/Asura.Framework/graphics')
-rw-r--r-- | Source/Asura.Framework/graphics/animation.lua | 6 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/animator.lua | 18 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/camera.lua | 7 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/canvasrenderer.lua | 0 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/defaultshaders.lua | 5 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/material.lua | 26 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/materialmanager.lua | 5 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/mesh2drenderer.lua | 5 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/particlesystem.lua | 3 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/renderer.lua | 3 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/shaperenderer.lua | 0 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/spritebatchrenderer.lua | 0 | ||||
-rw-r--r-- | Source/Asura.Framework/graphics/spriterenderer.lua | 7 |
13 files changed, 85 insertions, 0 deletions
diff --git a/Source/Asura.Framework/graphics/animation.lua b/Source/Asura.Framework/graphics/animation.lua new file mode 100644 index 0000000..8b52683 --- /dev/null +++ b/Source/Asura.Framework/graphics/animation.lua @@ -0,0 +1,6 @@ +--animation assetĬԴ +local Animation = AsuraEngine.Asset.New("animation") + + + +AsuraEngine.Animation = Animation
\ No newline at end of file diff --git a/Source/Asura.Framework/graphics/animator.lua b/Source/Asura.Framework/graphics/animator.lua new file mode 100644 index 0000000..1dca9f4 --- /dev/null +++ b/Source/Asura.Framework/graphics/animator.lua @@ -0,0 +1,18 @@ +local Animator = Class(function(go) + self.gameobject = go + self.spriteRenderer = go:GetSpriteRenderer() +end) + +Animator.animation = AsuraEngine.Animation.None + +local animation = AsuraEngine.Animation.New() + +function Animator:OnUpdate(dt) + +end + +function Animator:OnRender() + +end + +return Animator
\ No newline at end of file diff --git a/Source/Asura.Framework/graphics/camera.lua b/Source/Asura.Framework/graphics/camera.lua new file mode 100644 index 0000000..41d4394 --- /dev/null +++ b/Source/Asura.Framework/graphics/camera.lua @@ -0,0 +1,7 @@ +local Camera = Class() + +Camera.mIsOnScreen = false + +Camera.mIsCulling = false + +return Camera
\ No newline at end of file diff --git a/Source/Asura.Framework/graphics/canvasrenderer.lua b/Source/Asura.Framework/graphics/canvasrenderer.lua new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Source/Asura.Framework/graphics/canvasrenderer.lua diff --git a/Source/Asura.Framework/graphics/defaultshaders.lua b/Source/Asura.Framework/graphics/defaultshaders.lua new file mode 100644 index 0000000..bd54cb9 --- /dev/null +++ b/Source/Asura.Framework/graphics/defaultshaders.lua @@ -0,0 +1,5 @@ +--[[ +õshaders. +]] + + diff --git a/Source/Asura.Framework/graphics/material.lua b/Source/Asura.Framework/graphics/material.lua new file mode 100644 index 0000000..5f7a7fa --- /dev/null +++ b/Source/Asura.Framework/graphics/material.lua @@ -0,0 +1,26 @@ +--[[ +ʣǶshaderĴ +]] +local Material = AsuraEngine.Class() + +function Material:Ctor() + +end + +function Material:ToAsset() + +end + +function Material:GetUniform(id, value) + +end + +function Material:SendFloat() + +end + +function Material:GetUniformID() + +end + +return Material
\ No newline at end of file diff --git a/Source/Asura.Framework/graphics/materialmanager.lua b/Source/Asura.Framework/graphics/materialmanager.lua new file mode 100644 index 0000000..46cc13d --- /dev/null +++ b/Source/Asura.Framework/graphics/materialmanager.lua @@ -0,0 +1,5 @@ +local MaterialManager = AsuraEngine.Manager.New() + + + +return MaterialManager
\ No newline at end of file diff --git a/Source/Asura.Framework/graphics/mesh2drenderer.lua b/Source/Asura.Framework/graphics/mesh2drenderer.lua new file mode 100644 index 0000000..01f0d90 --- /dev/null +++ b/Source/Asura.Framework/graphics/mesh2drenderer.lua @@ -0,0 +1,5 @@ +local Mesh2DRenderer = Class() + + + +return Mesh2DRenderer
\ No newline at end of file diff --git a/Source/Asura.Framework/graphics/particlesystem.lua b/Source/Asura.Framework/graphics/particlesystem.lua new file mode 100644 index 0000000..21c35b8 --- /dev/null +++ b/Source/Asura.Framework/graphics/particlesystem.lua @@ -0,0 +1,3 @@ +--ϵͳһ + +local ParticleSystem diff --git a/Source/Asura.Framework/graphics/renderer.lua b/Source/Asura.Framework/graphics/renderer.lua new file mode 100644 index 0000000..1e44c73 --- /dev/null +++ b/Source/Asura.Framework/graphics/renderer.lua @@ -0,0 +1,3 @@ +local Renderer = Class() + +return Renderer
\ No newline at end of file diff --git a/Source/Asura.Framework/graphics/shaperenderer.lua b/Source/Asura.Framework/graphics/shaperenderer.lua new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Source/Asura.Framework/graphics/shaperenderer.lua diff --git a/Source/Asura.Framework/graphics/spritebatchrenderer.lua b/Source/Asura.Framework/graphics/spritebatchrenderer.lua new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Source/Asura.Framework/graphics/spritebatchrenderer.lua diff --git a/Source/Asura.Framework/graphics/spriterenderer.lua b/Source/Asura.Framework/graphics/spriterenderer.lua new file mode 100644 index 0000000..79177ba --- /dev/null +++ b/Source/Asura.Framework/graphics/spriterenderer.lua @@ -0,0 +1,7 @@ +local SpriteRenderer = Class() + +function SpriteRenderer:OnRender() + +end + +return SpriteRenderer
\ No newline at end of file |