Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
aiekick committed Nov 14, 2023
1 parent 6dd8441 commit 9379068
Show file tree
Hide file tree
Showing 41 changed files with 3,118 additions and 756 deletions.
188 changes: 105 additions & 83 deletions Plugins/CodeGenerator/src/Editor/UBOEditor.cpp

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions Plugins/CodeGenerator/src/Editor/UBOEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ class UBOEditor :
bool DrawPane(const std::string& vRendererType);

std::string Get_Widgets_Header(const std::string& vRendererType, const int32_t& vUboIndex);
std::string Get_Glsl_Header(const std::string& vRendererType, const int32_t& vUboBindingIndex, const int32_t& vUboIndex);
std::string Get_Cpp_Header(const std::string& vRendererType, const int32_t& vUboIndex);
std::string Get_Glsl_Header(const std::string& vRendererType, const int32_t& vUboBindingIndex, const int32_t& vUboIndex, const bool& vIsAnEffect);
std::string Get_Cpp_Header(const std::string& vRendererType, const int32_t& vUboIndex, const bool& vIsAnEffect);
std::string Get_Cpp_WriteDescriptors(const std::string& vRendererType, const int32_t& vUboBindingIndex, const int32_t& vUboIndex);
std::string Get_Cpp_LayoutBindings(const std::string& vRendererType, const int32_t& vUboBindingIndex);
std::string Get_Cpp_GetXML(const std::string& vRendererType, const int32_t& vUboIndex);
std::string Get_Cpp_SetXML(const std::string& vRendererType, const int32_t& vUboIndex, const bool& vIsFirst);
std::string Get_Cpp_GetXML(const std::string& vRendererType, const int32_t& vUboIndex, const bool& vIsAnEffect);
std::string Get_Cpp_SetXML(const std::string& vRendererType, const int32_t& vUboIndex, const bool& vIsFirst, const bool& vIsAnEffect);
std::string Get_Create_Header(const std::string& vRendererType, const int32_t& vUboIndex);
std::string Get_Upload_Header(const std::string& vRendererType, const int32_t& vUboIndex);
std::string Get_Destroy_Header(const std::string& vRendererType, const int32_t& vUboIndex);
Expand All @@ -97,15 +97,15 @@ class UBOEditors :
UBOEditors();
bool DrawPane(const std::string& vRendererType);

std::string Get_Cpp_Functions_Imp();
std::string Get_Cpp_Functions_Imp(const bool& vIsAnEffect);
std::string Get_Cpp_Functions_Header();
std::string Get_Cpp_WriteDescriptors();
std::string Get_Cpp_LayoutBindings();
std::string Get_Cpp_GetXML();
std::string Get_Cpp_SetXML();
std::string Get_Cpp_Header();
std::string Get_Cpp_GetXML(const bool& vIsAnEffect);
std::string Get_Cpp_SetXML(const bool& vIsAnEffect);
std::string Get_Cpp_Header(const bool& vIsAnEffect);
std::string Get_Widgets_Header();
std::string Get_Glsl_Header(const std::string& vStage);
std::string Get_Glsl_Header(const std::string& vStage, const bool& vIsAnEffect);

std::string getXml(const std::string& vOffset, const std::string& vUserDatas = "") override;
bool setFromXml(tinyxml2::XMLElement* vElem, tinyxml2::XMLElement* vParent, const std::string& vUserDatas = "") override;
Expand Down
4 changes: 2 additions & 2 deletions Plugins/CodeGenerator/src/Headers/CodeGeneratorBuild.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#define CodeGenerator_Prefix "CodeGenerator"
#define CodeGenerator_BuildNumber 561
#define CodeGenerator_BuildNumber 580
#define CodeGenerator_MinorNumber 0
#define CodeGenerator_MajorNumber 0
#define CodeGenerator_BuildId "0.0.561"
#define CodeGenerator_BuildId "0.0.580"
Loading

0 comments on commit 9379068

Please sign in to comment.