- Updated License to GPL v3.0 - Added New Math Nodes - Prototype Rendering Code for Debugging Functions
58 lines
4.5 KiB
TeX
58 lines
4.5 KiB
TeX
\doxysection{Project.\+h}
|
|
\hypertarget{_project_8h_source}{}\label{_project_8h_source}\index{Include/Project/Project.h@{Include/Project/Project.h}}
|
|
|
|
\begin{DoxyCode}{0}
|
|
\DoxyCodeLine{00001\ \textcolor{comment}{//\ =====================================================================================================================}}
|
|
\DoxyCodeLine{00002\ \textcolor{comment}{//\ \ OpenShaderDesigner,\ an\ open\ source\ software\ utility\ to\ create\ materials\ and\ shaders.}}
|
|
\DoxyCodeLine{00003\ \textcolor{comment}{//\ \ Copyright\ (C)\ 2024\ \ Medusa\ Slockbower}}
|
|
\DoxyCodeLine{00004\ \textcolor{comment}{//}}
|
|
\DoxyCodeLine{00005\ \textcolor{comment}{//\ \ This\ program\ is\ free\ software:\ you\ can\ redistribute\ it\ and/or\ modify}}
|
|
\DoxyCodeLine{00006\ \textcolor{comment}{//\ \ it\ under\ the\ terms\ of\ the\ GNU\ General\ Public\ License\ as\ published\ by}}
|
|
\DoxyCodeLine{00007\ \textcolor{comment}{//\ \ the\ Free\ Software\ Foundation,\ either\ version\ 3\ of\ the\ License,\ or}}
|
|
\DoxyCodeLine{00008\ \textcolor{comment}{//\ \ (at\ your\ option)\ any\ later\ version.}}
|
|
\DoxyCodeLine{00009\ \textcolor{comment}{//}}
|
|
\DoxyCodeLine{00010\ \textcolor{comment}{//\ \ This\ program\ is\ distributed\ in\ the\ hope\ that\ it\ will\ be\ useful,}}
|
|
\DoxyCodeLine{00011\ \textcolor{comment}{//\ \ but\ WITHOUT\ ANY\ WARRANTY;\ without\ even\ the\ implied\ warranty\ of}}
|
|
\DoxyCodeLine{00012\ \textcolor{comment}{//\ \ MERCHANTABILITY\ or\ FITNESS\ FOR\ A\ PARTICULAR\ PURPOSE.\ \ See\ the}}
|
|
\DoxyCodeLine{00013\ \textcolor{comment}{//\ \ GNU\ General\ Public\ License\ for\ more\ details.}}
|
|
\DoxyCodeLine{00014\ \textcolor{comment}{//}}
|
|
\DoxyCodeLine{00015\ \textcolor{comment}{//\ \ You\ should\ have\ received\ a\ copy\ of\ the\ GNU\ General\ Public\ License}}
|
|
\DoxyCodeLine{00016\ \textcolor{comment}{//\ \ along\ with\ this\ program.\ \ If\ not,\ see\ <https://www.gnu.org/licenses/>.}}
|
|
\DoxyCodeLine{00017\ \textcolor{comment}{//\ =====================================================================================================================}}
|
|
\DoxyCodeLine{00018\ }
|
|
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#ifndef\ PROJECT\_H}}
|
|
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#define\ PROJECT\_H}}
|
|
\DoxyCodeLine{00021\ }
|
|
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#include\ <Editor/MainMenuBar.h>}}
|
|
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#include\ <FileSystem/FileManager.h>}}
|
|
\DoxyCodeLine{00024\ }
|
|
\DoxyCodeLine{00025\ \textcolor{keyword}{namespace\ }OpenShaderDesigner}
|
|
\DoxyCodeLine{00026\ \{}
|
|
\DoxyCodeLine{00027\ \ \ \ \ }
|
|
\DoxyCodeLine{00028\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_open_shader_designer_1_1_project}{Project}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{class_open_shader_designer_1_1_main_menu_bar}{MainMenuBar}},\ \textcolor{keyword}{public}\ \mbox{\hyperlink{class_open_shader_designer_1_1_file_manager_1_1_asset}{FileManager::Asset}}}
|
|
\DoxyCodeLine{00029\ \{}
|
|
\DoxyCodeLine{00030\ \textcolor{keyword}{public}:}
|
|
\DoxyCodeLine{00031\ \ \ \ \ \mbox{\hyperlink{class_open_shader_designer_1_1_project}{Project}}();}
|
|
\DoxyCodeLine{00032\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{class_open_shader_designer_1_1_project}{\string~Project}}();}
|
|
\DoxyCodeLine{00033\ }
|
|
\DoxyCodeLine{00034\ \ \ \ \ \textcolor{keywordtype}{void}\ DrawMenuBar()\ \textcolor{keyword}{override};}
|
|
\DoxyCodeLine{00035\ }
|
|
\DoxyCodeLine{00036\ \ \ \ \ \textcolor{keywordtype}{void}\ Open()\ \textcolor{keyword}{override};}
|
|
\DoxyCodeLine{00037\ \ \ \ \ \textcolor{keywordtype}{void}\ Save(\textcolor{keyword}{const}\ FileManager::Path\&\ path)\ \textcolor{keyword}{override};}
|
|
\DoxyCodeLine{00038\ }
|
|
\DoxyCodeLine{00039\ \ \ \ \ \textcolor{keyword}{static}\ Asset*\ Create(\textcolor{keyword}{const}\ FileManager::Path\&\ path);}
|
|
\DoxyCodeLine{00040\ \ \ \ \ \textcolor{keyword}{static}\ Asset*\ Load(\textcolor{keyword}{const}\ FileManager::Path\&\ path);}
|
|
\DoxyCodeLine{00041\ \ \ \ \ \textcolor{keyword}{static}\ Asset*\ Import(\textcolor{keyword}{const}\ FileManager::Path\&\ src,\ \textcolor{keyword}{const}\ FileManager::Path\&\ dst);}
|
|
\DoxyCodeLine{00042\ }
|
|
\DoxyCodeLine{00043\ \textcolor{keyword}{private}:}
|
|
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keywordtype}{void}\ Reset();}
|
|
\DoxyCodeLine{00045\ \ \ \ \ }
|
|
\DoxyCodeLine{00046\ \ \ \ \ FileManager::FileID\ ProjectFile\_;}
|
|
\DoxyCodeLine{00047\ \};}
|
|
\DoxyCodeLine{00048\ \ \ \ \ }
|
|
\DoxyCodeLine{00049\ \}}
|
|
\DoxyCodeLine{00050\ }
|
|
\DoxyCodeLine{00051\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//PROJECT\_H}}
|
|
|
|
\end{DoxyCode}
|