diff options
Diffstat (limited to 'Source/Asura.Engine/graphics')
-rw-r--r-- | Source/Asura.Engine/graphics/binding/mesh2d_data.binding.cpp | 9 | ||||
-rw-r--r-- | Source/Asura.Engine/graphics/binding/shader.binding.cpp | 44 | ||||
-rw-r--r-- | Source/Asura.Engine/graphics/mesh2d_data.cpp | 0 | ||||
-rw-r--r-- | Source/Asura.Engine/graphics/mesh2d_data.h | 0 | ||||
-rw-r--r-- | Source/Asura.Engine/graphics/shader.h | 2 | ||||
-rw-r--r-- | Source/Asura.Engine/graphics/stb_decoder.h | 3 |
6 files changed, 34 insertions, 24 deletions
diff --git a/Source/Asura.Engine/graphics/binding/mesh2d_data.binding.cpp b/Source/Asura.Engine/graphics/binding/mesh2d_data.binding.cpp index e69de29..6e15052 100644 --- a/Source/Asura.Engine/graphics/binding/mesh2d_data.binding.cpp +++ b/Source/Asura.Engine/graphics/binding/mesh2d_data.binding.cpp @@ -0,0 +1,9 @@ +namespace AsuraEngine +{ + namespace Graphics + { + + + + } +}
\ No newline at end of file diff --git a/Source/Asura.Engine/graphics/binding/shader.binding.cpp b/Source/Asura.Engine/graphics/binding/shader.binding.cpp index 3f24bb7..1190997 100644 --- a/Source/Asura.Engine/graphics/binding/shader.binding.cpp +++ b/Source/Asura.Engine/graphics/binding/shader.binding.cpp @@ -1,4 +1,4 @@ -#include "../Shader.h" +#include "../shader.h" using namespace Luax; @@ -7,6 +7,27 @@ namespace AsuraEngine namespace Graphics { + void Shader::RegisterLuaxInterface(LuaxState& state) + { + + } + + void Shader::RegisterLuaxClass(LuaxState& state) + { + + LuaxEnum EBuiltIn[] = { + {0, 0} + }; + + state.RegisterEnum("EBuiltIn", EBuiltIn); + + } + + void Shader::RegisterLuaxPostprocess(LuaxState& state) + { + + } + /// /// shaderΪ /// @@ -94,26 +115,5 @@ namespace AsuraEngine } - void Shader::RegisterLuaxInterface(LuaxState& state) - { - - } - - void Shader::RegisterLuaxClass(LuaxState& state) - { - - LuaxEnum EBuiltIn[] = { - {0, 0} - }; - - state.RegisterEnum("EBuiltIn", EBuiltIn); - - } - - void Shader::RegisterLuaxPostprocess(LuaxState& state) - { - - } - } }
\ No newline at end of file diff --git a/Source/Asura.Engine/graphics/mesh2d_data.cpp b/Source/Asura.Engine/graphics/mesh2d_data.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Source/Asura.Engine/graphics/mesh2d_data.cpp diff --git a/Source/Asura.Engine/graphics/mesh2d_data.h b/Source/Asura.Engine/graphics/mesh2d_data.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Source/Asura.Engine/graphics/mesh2d_data.h diff --git a/Source/Asura.Engine/graphics/shader.h b/Source/Asura.Engine/graphics/shader.h index 4976106..65f214e 100644 --- a/Source/Asura.Engine/graphics/shader.h +++ b/Source/Asura.Engine/graphics/shader.h @@ -11,7 +11,7 @@ #include "Math/Vector4.h" #include "Math/Matrix44.h" #include "StringMap.hpp" -#include "scripting/portable.h" +#include "scripting/portable.hpp" #include "Color.h" #include "Manager.hpp" #include "Texture.h" diff --git a/Source/Asura.Engine/graphics/stb_decoder.h b/Source/Asura.Engine/graphics/stb_decoder.h index b8fb83c..57b247c 100644 --- a/Source/Asura.Engine/graphics/stb_decoder.h +++ b/Source/Asura.Engine/graphics/stb_decoder.h @@ -11,7 +11,8 @@ namespace AsuraEngine /// /// ʹstb_imageѹJPEGTGABMPļ /// - class STBDecoder ASURA_FINAL: public ImageDecoder + class STBDecoder ASURA_FINAL + : public ImageDecoder { public: |