diff --git a/CMakeLists.txt b/CMakeLists.txt index f379960..ac10a4b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,5 @@ cmake_minimum_required(VERSION 3.5) - set(VERSION_MAJOR 0) set(VERSION_MINOR 0) set(VERSION_PATCH 1) @@ -17,8 +16,8 @@ set(CMAKE_C_STANDARD 23) set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/${CMAKE_SYSTEM_NAME}) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_SYSTEM_NAME}) +# Find dependenices find_package(PkgConfig REQUIRED) - find_package(Freetype REQUIRED) find_package(GLEW REQUIRED) find_package(glm REQUIRED) @@ -33,6 +32,9 @@ endif() include_directories(Include) include_directories(External) +# Add External Libraries +add_subdirectory(External/open-cpp-utils) + # Configure ImGui set(IMGUI_BACKEND_SDL2 ON) set(IMGUI_BACKEND_OPENGL ON) @@ -42,6 +44,7 @@ set(IMGUI_FREETYPE ON) # Add ImGui and any extensions add_subdirectory(External/imgui-docking) add_subdirectory(External/imgui-extras) +add_subdirectory(External/imnode-graph) add_executable(OpenShaderDesigner Source/Entry.cpp @@ -71,7 +74,9 @@ target_link_libraries(OpenShaderDesigner PRIVATE GLEW::GLEW OpenGL::GL ${SDL2_LIBRARIES} + imgui-docking imgui-extras + imnode-graph ) # DOXYGEN ============================================================================================================== @@ -80,6 +85,7 @@ target_link_libraries(OpenShaderDesigner PRIVATE find_package(Doxygen) if(DOXYGEN_FOUND) + get_filename_component(DOXYGEN_PROJECT_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) set(DOXYGEN_CONFIG_IN ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in) set(DOXYGEN_CONFIG_OUT ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile) @@ -87,14 +93,14 @@ if(DOXYGEN_FOUND) message("Doxygen Build Started.") if(WIN32) - add_custom_target(doxygen ALL + add_custom_target(OpenShaderDesigner-Documentation ALL COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_CONFIG_OUT} COMMAND start firefox "${CMAKE_CURRENT_SOURCE_DIR}/Documentation/html/index.html" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMENT "Generating Doxygen Documentation" VERBATIM) else() - add_custom_target(doxygen ALL + add_custom_target(OpenShaderDesigner-Documentation ALL COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_CONFIG_OUT} COMMAND firefox "${CMAKE_CURRENT_SOURCE_DIR}/Documentation/html/index.html" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} diff --git a/Documentation/html/_any_8h_source.html b/Documentation/html/_any_8h_source.html new file mode 100644 index 0000000..e9bb0cf --- /dev/null +++ b/Documentation/html/_any_8h_source.html @@ -0,0 +1,162 @@ + + +
+ + + + +
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
Provides compile time evaluation utilities for templates and template packs. +More...
+ +Go to the source code of this file.
++Classes | |
struct | ConstantValue< T, V > |
Compile-time constant value. More... | |
struct | GetPackElement< I, T, Ts > |
+Typedefs | |
template<bool V> | |
using | BoolConstant = ConstantValue<bool, V> |
Compile-time constant boolean value. | |
+using | TrueType = BoolConstant<true> |
Constant True Value. | |
+using | FalseType = BoolConstant<false> |
Constant False Value. | |
+Variables | |
template<typename T , typename... Ts> | |
constexpr bool | IsUnique< T, Ts... > = BoolConstant<(!IsSame<T, Ts> && ...) && IsUnique<Ts...>>{} |
Check if all types in a template pack are unique. | |
Provides compile time evaluation utilities for templates and template packs.
+using BoolConstant = ConstantValue<bool, V> | +
Compile-time constant boolean value.
+V | Value |
+
|
+ +inlineconstexpr | +
Check if all types in a template pack are unique.
+T | First element of template pack |
Ts | Rest of the template pack |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
▼NGLW | |
CBufferObject | |
▼NOpenShaderDesigner | |
▼NNodes | |
▼NMath | |
CAdd | |
CConstant | |
C_ImplEventHandler | Base EventHandler for abstraction |
CConsole | |
CConsoleWindow | |
CEditorSystem | |
CEditorWindow | EditorWindow class for wrapping ImGui window functionality |
CEngine | |
CEvent | Base Event class for sending events to the Engine |
CEventHandler | EventHandler interface for creating custom EventHandlers |
CEventSystem | EventSystem for posting Events to be handled |
CInspector | |
CNode | |
CPin | |
▼CPinPtr | |
CHash | |
CProfiler | |
CRenderer | |
CShaderGraph | |
CTimer | |
▼CWindow | |
CConfiguration |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for Any< T, Rest... >, including all inherited members.
+Any() (defined in Any< T, Rest... >) | Any< T, Rest... > | inline |
Any(const ThisType &value, const Rest &...other) (defined in Any< T, Rest... >) | Any< T, Rest... > | inline |
Any(ThisType &&value, Rest &&...other) (defined in Any< T, Rest... >) | Any< T, Rest... > | inline |
Any(const Any &other)=default (defined in Any< T, Rest... >) | Any< T, Rest... > | |
Any(Any &&other)=default (defined in Any< T, Rest... >) | Any< T, Rest... > | |
operator const ThisType &() const (defined in Any< T, Rest... >) | Any< T, Rest... > | inline |
operator const ThisType *() const (defined in Any< T, Rest... >) | Any< T, Rest... > | inline |
operator ThisType() const (defined in Any< T, Rest... >) | Any< T, Rest... > | inline |
operator ThisType &() (defined in Any< T, Rest... >) | Any< T, Rest... > | inline |
operator ThisType &&() (defined in Any< T, Rest... >) | Any< T, Rest... > | inline |
operator ThisType *() (defined in Any< T, Rest... >) | Any< T, Rest... > | inline |
operator=(const Any &)=default (defined in Any< T, Rest... >) | Any< T, Rest... > | |
operator=(Any &&)=default (defined in Any< T, Rest... >) | Any< T, Rest... > | |
~Any()=default (defined in Any< T, Rest... >) | Any< T, Rest... > |
+ OpenShaderDesigner 0.0.1
+
+ |
+
Package multiple types into a single variable, useful for instances where a value may be multiple types. + More...
+ +#include <Any.h>
+Public Member Functions | |
+ | Any (const ThisType &value, const Rest &...other) |
+ | Any (ThisType &&value, Rest &&...other) |
+ | Any (const Any &other)=default |
+ | Any (Any &&other)=default |
+Any & | operator= (const Any &)=default |
+Any & | operator= (Any &&)=default |
+ | operator ThisType () const |
+ | operator ThisType & () |
+ | operator const ThisType & () const |
+ | operator ThisType && () |
+ | operator ThisType * () |
+ | operator const ThisType * () const |
Package multiple types into a single variable, useful for instances where a value may be multiple types.
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for DirectedGraph< T >, including all inherited members.
+BreadthFirst (defined in DirectedGraph< T >) | DirectedGraph< T > | friend |
DataType typedef (defined in DirectedGraph< T >) | DirectedGraph< T > | |
Depth(Node node) const (defined in DirectedGraph< T >) | DirectedGraph< T > | inline |
DirectedGraph() (defined in DirectedGraph< T >) | DirectedGraph< T > | inline |
Erase(Node node) (defined in DirectedGraph< T >) | DirectedGraph< T > | inline |
FirstChild(Node node) const (defined in DirectedGraph< T >) | DirectedGraph< T > | inline |
InOrder (defined in DirectedGraph< T >) | DirectedGraph< T > | friend |
Insert(const DataType &data, Node parent) (defined in DirectedGraph< T >) | DirectedGraph< T > | inline |
LeftMost(Node node) const (defined in DirectedGraph< T >) | DirectedGraph< T > | inline |
NextSibling(Node node) const (defined in DirectedGraph< T >) | DirectedGraph< T > | inline |
Node typedef (defined in DirectedGraph< T >) | DirectedGraph< T > | |
NodeQueue typedef (defined in DirectedGraph< T >) | DirectedGraph< T > | |
operator[](Node node) (defined in DirectedGraph< T >) | DirectedGraph< T > | inline |
operator[](Node node) const (defined in DirectedGraph< T >) | DirectedGraph< T > | inline |
Parent(Node node) const (defined in DirectedGraph< T >) | DirectedGraph< T > | inline |
PostOrder (defined in DirectedGraph< T >) | DirectedGraph< T > | friend |
PreOrder (defined in DirectedGraph< T >) | DirectedGraph< T > | friend |
Traverse(V &visitor) (defined in DirectedGraph< T >) | DirectedGraph< T > | inline |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Classes | |
class | BreadthFirst |
class | InOrder |
class | PostOrder |
class | PreOrder |
class | Traverser |
+Public Types | |
+using | DataType = T |
+using | Node = uint32_t |
+using | NodeQueue = std::deque<Node> |
+Friends | |
+class | BreadthFirst |
+class | PreOrder |
+class | InOrder |
+class | PostOrder |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for DirectedGraph< T >::BreadthFirst, including all inherited members.
+BreadthFirst(DirectedGraph &graph) (defined in DirectedGraph< T >::BreadthFirst) | DirectedGraph< T >::BreadthFirst | inline |
operator()(Node node) (defined in DirectedGraph< T >::BreadthFirst) | DirectedGraph< T >::BreadthFirst | inline |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Member Functions | |
+ | BreadthFirst (DirectedGraph &graph) |
+Node | operator() (Node node) |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for DirectedGraph< T >::InOrder, including all inherited members.
+InOrder(DirectedGraph &graph) (defined in DirectedGraph< T >::InOrder) | DirectedGraph< T >::InOrder | inline |
operator()(Node node) (defined in DirectedGraph< T >::InOrder) | DirectedGraph< T >::InOrder | inline |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Member Functions | |
+ | InOrder (DirectedGraph &graph) |
+Node | operator() (Node node) |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for DirectedGraph< T >::PostOrder, including all inherited members.
+operator()(Node node) (defined in DirectedGraph< T >::PostOrder) | DirectedGraph< T >::PostOrder | inline |
PostOrder(DirectedGraph &graph) (defined in DirectedGraph< T >::PostOrder) | DirectedGraph< T >::PostOrder | inline |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Member Functions | |
+ | PostOrder (DirectedGraph &graph) |
+Node | operator() (Node node) |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for DirectedGraph< T >::PreOrder, including all inherited members.
+operator()(Node node) (defined in DirectedGraph< T >::PreOrder) | DirectedGraph< T >::PreOrder | inline |
PreOrder(DirectedGraph &graph) (defined in DirectedGraph< T >::PreOrder) | DirectedGraph< T >::PreOrder | inline |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Member Functions | |
+ | PreOrder (DirectedGraph &graph) |
+Node | operator() (Node node) |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for DirectedGraph< T >::Traverser< V, O >, including all inherited members.
+operator()() (defined in DirectedGraph< T >::Traverser< V, O >) | DirectedGraph< T >::Traverser< V, O > | inline |
OrderType typedef (defined in DirectedGraph< T >::Traverser< V, O >) | DirectedGraph< T >::Traverser< V, O > | |
Traverser(DirectedGraph &graph, VisitorType &visitor) (defined in DirectedGraph< T >::Traverser< V, O >) | DirectedGraph< T >::Traverser< V, O > | inline |
VisitorType typedef (defined in DirectedGraph< T >::Traverser< V, O >) | DirectedGraph< T >::Traverser< V, O > |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Types | |
+using | VisitorType = V |
+using | OrderType = O |
+Public Member Functions | |
+ | Traverser (DirectedGraph &graph, VisitorType &visitor) |
+void | operator() () |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for GLW::BufferObject< T, U, S >, including all inherited members.
+BufferObject(SizeT size, void *data=nullptr) | GLW::BufferObject< T, U, S > | |
BufferObject(BufferObject &&other) | GLW::BufferObject< T, U, S > | |
BufferObject(const BufferObject &other) | GLW::BufferObject< T, U, S > | |
operator bool() const | GLW::BufferObject< T, U, S > | inline |
operator=(const BufferObject &other) | GLW::BufferObject< T, U, S > | |
operator=(BufferObject &&other) noexcept | GLW::BufferObject< T, U, S > | |
Resize(SizeT size) (defined in GLW::BufferObject< T, U, S >) | GLW::BufferObject< T, U, S > | |
Size() const (defined in GLW::BufferObject< T, U, S >) | GLW::BufferObject< T, U, S > | inline |
Storage (defined in GLW::BufferObject< T, U, S >) | GLW::BufferObject< T, U, S > | static |
Type (defined in GLW::BufferObject< T, U, S >) | GLW::BufferObject< T, U, S > | static |
Usage (defined in GLW::BufferObject< T, U, S >) | GLW::BufferObject< T, U, S > | static |
~BufferObject() | GLW::BufferObject< T, U, S > |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Member Functions | |
BufferObject (SizeT size, void *data=nullptr) | |
BufferObject constructor. | |
+ | BufferObject (BufferObject &&other) |
Move Constructor. | |
+ | BufferObject (const BufferObject &other) |
Copy Constructor. | |
+ | ~BufferObject () |
Destructor. | |
+ | operator bool () const |
Validity test. | |
+BufferObject & | operator= (const BufferObject &other) |
Copy Assignment. | |
+BufferObject & | operator= (BufferObject &&other) noexcept |
Move Assignment. | |
+SizeT | Size () const |
+void | Resize (SizeT size) |
+Static Public Attributes | |
+static constexpr BufferType | Type = T |
+static constexpr BufferUsage | Usage = U |
+static constexpr BufferStorage | Storage = S |
GLW::BufferObject< T, U, S >::BufferObject | +( | +SizeT | size, | +
+ | + | void * | data = nullptr ) | +
BufferObject constructor.
+size | Size in bytes of the Buffer |
data | Data to be used as the initial contents of the Buffer |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::_ImplEventHandler, including all inherited members.
+EventSystem (defined in OpenShaderDesigner::_ImplEventHandler) | OpenShaderDesigner::_ImplEventHandler | friend |
+ OpenShaderDesigner 0.0.1
+
+ |
+
Base EventHandler for abstraction. + More...
+ +#include <EventSystem.h>
+Friends | |
+class | EventSystem |
Base EventHandler for abstraction.
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::Console, including all inherited members.
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Types | |
enum | Setting : uint8_t { + SHOW_TIMESTAMP = 0b00000001 +, SHOW_THREAD = 0b00000010 +, SHOW_SEVERITY = 0b00000100 +, SHOW_FILE_INFO = 0b00001000 +, + WRAP_TEXT = 0b00010000 +, ALL_SETTINGS = 0xFF +, DEFAULT_SETTINGS = ALL_SETTINGS ^ WRAP_TEXT + + } |
Setting for displaying log entries. | |
enum class | Severity : int { + MESSAGE = 0 +, WARNING +, ERROR +, FATAL +, + ALERT +, COMMAND +, COUNT +, DEFAULT = WARNING + + } |
Severity levels for log entries. | |
+Static Public Member Functions | |
static constexpr ImVec4 | ImGuiColor (unsigned int RGB) |
Integer to floating point color. (ImGui APIVersion) | |
+static std::string | ThreadID () |
template<typename... Args> | |
static void | Log (const std::string &file, const int line, Severity severity=Severity::DEFAULT, const std::format_string< Args... > &message="", Args &&... vargs) |
Thread-Safe Log function for debugging. | |
+static void | DrawMenu () |
+static void | DrawWindow () |
+Static Public Attributes | |
static const std::string | SettingNames [] |
String representations of the settings. | |
static const std::string | Severities [] |
String representations of the Severity levels. | |
static const ImVec4 | SeverityColors [] |
Color for rendering each Severity level text in editor. | |
+static bool | Open = true |
+
|
+ +inlinestaticconstexpr | +
Integer to floating point color. (ImGui APIVersion)
+RGB | The Integer color to convert. |
+
|
+ +static | +
Thread-Safe Log function for debugging.
+Args | Variadic Arguments template for PixelLayout Parameters |
file | The name of the file this was called from. |
line | The line number this was called from. |
severity | The severity level of the log entry. |
message | A format string for the entry message. |
vargs | Arguments for the format string. |
+
|
+ +inlinestatic | +
String representations of the settings.
+ +
+
|
+ +inlinestatic | +
String representations of the Severity levels.
+ +
+
|
+ +inlinestatic | +
Color for rendering each Severity level text in editor.
+ +
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::ConsoleWindow, including all inherited members.
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Member Functions | |
void | DrawMenu () override |
DrawMenu function for when the EditorWindow Menu is being drawn. | |
void | DrawWindow () override |
DrawWindow function for when the EditorWindow is being drawn. | |
![]() | |
+void | Open () |
Open the EditorWindow. | |
+void | Draw () |
Draw the EditorWindow. | |
+void | Close () |
Close the EditorWindow. | |
bool | IsOpen () const |
Check if the EditorWindow is open. | |
+void | SetFlags (ImGuiWindowFlags flags) |
+void | ClearFlags (ImGuiWindowFlags flags) |
+void | ToggleFlags (ImGuiWindowFlags flags) |
+bool | CheckFlag (ImGuiWindowFlags flag) const |
+bool | HasMenuBar () const |
+Additional Inherited Members | |
![]() | |
+const std::string | Title |
Title for the EditorWindow. | |
![]() | |
+ | EditorWindow (const std::string &title, ImGuiWindowFlags flags) |
virtual void | OnOpen () |
OnOpen callback for when the EditorWindow is opened. | |
+virtual void | OnClose () |
OnClose callback for when the EditorWindow is closed. | |
+
|
+ +overridevirtual | +
DrawMenu function for when the EditorWindow Menu is being drawn.
+ +Reimplemented from OpenShaderDesigner::EditorWindow.
+ +
+
|
+ +overridevirtual | +
DrawWindow function for when the EditorWindow is being drawn.
+ +Reimplemented from OpenShaderDesigner::EditorWindow.
+ +
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::EditorSystem, including all inherited members.
+Close() (defined in OpenShaderDesigner::EditorSystem) | OpenShaderDesigner::EditorSystem | inlinestatic |
Draw() (defined in OpenShaderDesigner::EditorSystem) | OpenShaderDesigner::EditorSystem | static |
Get() (defined in OpenShaderDesigner::EditorSystem) | OpenShaderDesigner::EditorSystem | inlinestatic |
HandleEvents(SDL_Event *event) (defined in OpenShaderDesigner::EditorSystem) | OpenShaderDesigner::EditorSystem | static |
ID() (defined in OpenShaderDesigner::EditorSystem) | OpenShaderDesigner::EditorSystem | inlinestatic |
Initialize() (defined in OpenShaderDesigner::EditorSystem) | OpenShaderDesigner::EditorSystem | static |
Open() (defined in OpenShaderDesigner::EditorSystem) | OpenShaderDesigner::EditorSystem | inlinestatic |
Shutdown() (defined in OpenShaderDesigner::EditorSystem) | OpenShaderDesigner::EditorSystem | static |
WindowID typedef (defined in OpenShaderDesigner::EditorSystem) | OpenShaderDesigner::EditorSystem |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Types | |
+using | WindowID = uint64_t |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::EditorWindow, including all inherited members.
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
EditorWindow class for wrapping ImGui window functionality. + More...
+ +#include <EditorWindow.h>
+Public Member Functions | |
+void | Open () |
Open the EditorWindow. | |
+void | Draw () |
Draw the EditorWindow. | |
+void | Close () |
Close the EditorWindow. | |
bool | IsOpen () const |
Check if the EditorWindow is open. | |
+void | SetFlags (ImGuiWindowFlags flags) |
+void | ClearFlags (ImGuiWindowFlags flags) |
+void | ToggleFlags (ImGuiWindowFlags flags) |
+bool | CheckFlag (ImGuiWindowFlags flag) const |
+bool | HasMenuBar () const |
+Public Attributes | |
+const std::string | Title |
Title for the EditorWindow. | |
+Protected Member Functions | |
+ | EditorWindow (const std::string &title, ImGuiWindowFlags flags) |
virtual void | OnOpen () |
OnOpen callback for when the EditorWindow is opened. | |
virtual void | DrawWindow () |
DrawWindow function for when the EditorWindow is being drawn. | |
virtual void | DrawMenu () |
DrawMenu function for when the EditorWindow Menu is being drawn. | |
+virtual void | OnClose () |
OnClose callback for when the EditorWindow is closed. | |
+Friends | |
+class | EditorSystem |
EditorWindow class for wrapping ImGui window functionality.
+
+
|
+ +inlineprotectedvirtual | +
DrawMenu function for when the EditorWindow Menu is being drawn.
+ +Reimplemented in OpenShaderDesigner::ConsoleWindow.
+ +
+
|
+ +inlineprotectedvirtual | +
DrawWindow function for when the EditorWindow is being drawn.
+ +Reimplemented in OpenShaderDesigner::ConsoleWindow, OpenShaderDesigner::Inspector, OpenShaderDesigner::Profiler, and OpenShaderDesigner::ShaderGraph.
+ +
+
|
+ +inlinenodiscard | +
Check if the EditorWindow is open.
+
+
|
+ +inlineprotectedvirtual | +
OnOpen callback for when the EditorWindow is opened.
+ +Reimplemented in OpenShaderDesigner::ShaderGraph.
+ +
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::Engine, including all inherited members.
+Delta (defined in OpenShaderDesigner::Engine) | OpenShaderDesigner::Engine | inlinestatic |
GetMainWindow() (defined in OpenShaderDesigner::Engine) | OpenShaderDesigner::Engine | inlinestatic |
Start(const Window::Configuration &config) (defined in OpenShaderDesigner::Engine) | OpenShaderDesigner::Engine | static |
Stop() (defined in OpenShaderDesigner::Engine) | OpenShaderDesigner::Engine | static |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Static Public Member Functions | |
+static void | Start (const Window::Configuration &config) |
+static void | Stop () |
+static Window & | GetMainWindow () |
+Static Public Attributes | |
+static const double & | Delta = _Delta |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::EventHandler< EventType >, including all inherited members.
+HandledType typedef | OpenShaderDesigner::EventHandler< EventType > | |
HandleEvent(const HandledType *event)=0 | OpenShaderDesigner::EventHandler< EventType > | pure virtual |
+ OpenShaderDesigner 0.0.1
+
+ |
+
EventHandler interface for creating custom EventHandlers. + More...
+ +#include <EventSystem.h>
+Public Types | |
+using | HandledType = EventType |
The type handled by the EventHandler. | |
+Public Member Functions | |
virtual bool | HandleEvent (const HandledType *event)=0 |
Virtual function for custom EventHandler implementations. | |
EventHandler interface for creating custom EventHandlers.
+EventType | The ComponentType of Event handled by the EventHandler |
+
|
+ +pure virtual | +
Virtual function for custom EventHandler implementations.
+event | The Event being handled. |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::EventSystem, including all inherited members.
+PostEvent(const Event *) | OpenShaderDesigner::EventSystem | static |
RegisterHandler(EventHandler< T > *) | OpenShaderDesigner::EventSystem | static |
UnregisterHandler(EventHandler< T > *) | OpenShaderDesigner::EventSystem | static |
+ OpenShaderDesigner 0.0.1
+
+ |
+
EventSystem for posting Events to be handled. + More...
+ +#include <EventSystem.h>
+Static Public Member Functions | |
+static void | PostEvent (const Event *) |
Post an Event to be Handled. | |
template<typename T > | |
static void | RegisterHandler (EventHandler< T > *) |
Register an EventHandler with the EventSystem. | |
template<typename T > | |
static void | UnregisterHandler (EventHandler< T > *) |
Unregister an EventHandler with the EventSystem. | |
EventSystem for posting Events to be handled.
+
+
|
+ +static | +
Register an EventHandler with the EventSystem.
+T | ComponentType of Event handled by the EventHandler. |
+
|
+ +static | +
Unregister an EventHandler with the EventSystem.
+T | ComponentType of Event handled by the EventHandler. |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::Inspector, including all inherited members.
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Member Functions | |
void | DrawWindow () override |
DrawWindow function for when the EditorWindow is being drawn. | |
![]() | |
+void | Open () |
Open the EditorWindow. | |
+void | Draw () |
Draw the EditorWindow. | |
+void | Close () |
Close the EditorWindow. | |
bool | IsOpen () const |
Check if the EditorWindow is open. | |
+void | SetFlags (ImGuiWindowFlags flags) |
+void | ClearFlags (ImGuiWindowFlags flags) |
+void | ToggleFlags (ImGuiWindowFlags flags) |
+bool | CheckFlag (ImGuiWindowFlags flag) const |
+bool | HasMenuBar () const |
+Friends | |
+class | ShaderGraph |
+Additional Inherited Members | |
![]() | |
+const std::string | Title |
Title for the EditorWindow. | |
![]() | |
+ | EditorWindow (const std::string &title, ImGuiWindowFlags flags) |
virtual void | OnOpen () |
OnOpen callback for when the EditorWindow is opened. | |
virtual void | DrawMenu () |
DrawMenu function for when the EditorWindow Menu is being drawn. | |
+virtual void | OnClose () |
OnClose callback for when the EditorWindow is closed. | |
+
|
+ +overridevirtual | +
DrawWindow function for when the EditorWindow is being drawn.
+ +Reimplemented from OpenShaderDesigner::EditorWindow.
+ +
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::Profiler, including all inherited members.
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Member Functions | |
void | DrawWindow () override |
DrawWindow function for when the EditorWindow is being drawn. | |
+bool | HandleEvent (const EventHandler< BeginFrame >::HandledType *event) override |
+bool | HandleEvent (const EventHandler< EndFrame >::HandledType *event) override |
![]() | |
+void | Open () |
Open the EditorWindow. | |
+void | Draw () |
Draw the EditorWindow. | |
+void | Close () |
Close the EditorWindow. | |
bool | IsOpen () const |
Check if the EditorWindow is open. | |
+void | SetFlags (ImGuiWindowFlags flags) |
+void | ClearFlags (ImGuiWindowFlags flags) |
+void | ToggleFlags (ImGuiWindowFlags flags) |
+bool | CheckFlag (ImGuiWindowFlags flag) const |
+bool | HasMenuBar () const |
![]() | |
virtual bool | HandleEvent (const HandledType *event)=0 |
Virtual function for custom EventHandler implementations. | |
![]() | |
virtual bool | HandleEvent (const HandledType *event)=0 |
Virtual function for custom EventHandler implementations. | |
+Additional Inherited Members | |
![]() | |
+using | HandledType |
The type handled by the EventHandler. | |
![]() | |
+using | HandledType |
The type handled by the EventHandler. | |
![]() | |
+const std::string | Title |
Title for the EditorWindow. | |
![]() | |
+ | EditorWindow (const std::string &title, ImGuiWindowFlags flags) |
virtual void | OnOpen () |
OnOpen callback for when the EditorWindow is opened. | |
virtual void | DrawMenu () |
DrawMenu function for when the EditorWindow Menu is being drawn. | |
+virtual void | OnClose () |
OnClose callback for when the EditorWindow is closed. | |
+
|
+ +overridevirtual | +
DrawWindow function for when the EditorWindow is being drawn.
+ +Reimplemented from OpenShaderDesigner::EditorWindow.
+ +
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::ShaderGraph, including all inherited members.
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Member Functions | |
void | OnOpen () override |
OnOpen callback for when the EditorWindow is opened. | |
void | DrawWindow () override |
DrawWindow function for when the EditorWindow is being drawn. | |
![]() | |
+void | Open () |
Open the EditorWindow. | |
+void | Draw () |
Draw the EditorWindow. | |
+void | Close () |
Close the EditorWindow. | |
bool | IsOpen () const |
Check if the EditorWindow is open. | |
+void | SetFlags (ImGuiWindowFlags flags) |
+void | ClearFlags (ImGuiWindowFlags flags) |
+void | ToggleFlags (ImGuiWindowFlags flags) |
+bool | CheckFlag (ImGuiWindowFlags flag) const |
+bool | HasMenuBar () const |
+Static Public Member Functions | |
+static void | Register (const std::filesystem::path &path, ConstructorPtr constructor) |
+Friends | |
+class | Inspector |
+Additional Inherited Members | |
![]() | |
+const std::string | Title |
Title for the EditorWindow. | |
![]() | |
+ | EditorWindow (const std::string &title, ImGuiWindowFlags flags) |
virtual void | DrawMenu () |
DrawMenu function for when the EditorWindow Menu is being drawn. | |
+virtual void | OnClose () |
OnClose callback for when the EditorWindow is closed. | |
+
|
+ +overridevirtual | +
DrawWindow function for when the EditorWindow is being drawn.
+ +Reimplemented from OpenShaderDesigner::EditorWindow.
+ +
+
|
+ +overridevirtual | +
OnOpen callback for when the EditorWindow is opened.
+ +Reimplemented from OpenShaderDesigner::EditorWindow.
+ +
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::Timer, including all inherited members.
+Poll() const (defined in OpenShaderDesigner::Timer) | OpenShaderDesigner::Timer | inline |
Reset() (defined in OpenShaderDesigner::Timer) | OpenShaderDesigner::Timer | inline |
Timer() (defined in OpenShaderDesigner::Timer) | OpenShaderDesigner::Timer | inline |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Member Functions | |
+void | Reset () |
+double | Poll () const |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for OpenShaderDesigner::Window, including all inherited members.
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Classes | |
struct | Configuration |
+Public Member Functions | |
+ | Window (const Configuration &config) |
+void | HandleEvents () |
+void | BeginFrame () |
+void | EndFrame () |
+void | Close () |
+bool | IsOpen () const |
+SDL_Window * | GetHandle () |
+const SDL_Window * | GetHandle () const |
+SDL_GLContext | GetContext () |
+const SDL_GLContext | GetContext () const |
+glm::ivec2 | Size () const |
+Static Public Attributes | |
+static const Configuration | DefaultConfiguration |
+ OpenShaderDesigner 0.0.1
+
+ |
+
This is the complete list of members for Optional< T >, including all inherited members.
+operator const Type &() const (defined in Optional< T >) | Optional< T > | inline |
operator Type &() (defined in Optional< T >) | Optional< T > | inline |
operator%=(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
operator&=(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
operator()() const (defined in Optional< T >) | Optional< T > | inline |
operator*() (defined in Optional< T >) | Optional< T > | inline |
operator*() const (defined in Optional< T >) | Optional< T > | inline |
operator*=(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
operator+=(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
operator-=(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
operator->() (defined in Optional< T >) | Optional< T > | inline |
operator->() const (defined in Optional< T >) | Optional< T > | inline |
operator/=(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
operator<<=(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
operator=(const Optional &other)=default (defined in Optional< T >) | Optional< T > | |
operator=(Optional &&other)=default (defined in Optional< T >) | Optional< T > | |
operator=(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
operator=(Type &&data) (defined in Optional< T >) | Optional< T > | inline |
operator>>=(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
operator^=(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
operator|=(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
Optional() (defined in Optional< T >) | Optional< T > | inline |
Optional(const Type &data) (defined in Optional< T >) | Optional< T > | inline |
Optional(Type &&data) (defined in Optional< T >) | Optional< T > | inline |
Optional(const Optional &other)=default (defined in Optional< T >) | Optional< T > | |
Optional(Optional &&other)=default (defined in Optional< T >) | Optional< T > | |
Reset() (defined in Optional< T >) | Optional< T > | inline |
Type typedef (defined in Optional< T >) | Optional< T > |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Public Types | |
+using | Type = T |
+Public Member Functions | |
+ | Optional (const Type &data) |
+ | Optional (Type &&data) |
+ | Optional (const Optional &other)=default |
+ | Optional (Optional &&other)=default |
+Optional & | operator= (const Optional &other)=default |
+Optional & | operator= (Optional &&other)=default |
+Type & | operator= (const Type &data) |
+Type & | operator= (Type &&data) |
+Type & | operator+= (const Type &data) |
+Type & | operator-= (const Type &data) |
+Type & | operator*= (const Type &data) |
+Type & | operator/= (const Type &data) |
+Type & | operator%= (const Type &data) |
+Type & | operator<<= (const Type &data) |
+Type & | operator>>= (const Type &data) |
+Type & | operator|= (const Type &data) |
+Type & | operator&= (const Type &data) |
+Type & | operator^= (const Type &data) |
+bool | operator() () const |
+ | operator Type & () |
+ | operator const Type & () const |
+Type * | operator-> () |
+const Type * | operator-> () const |
+Type & | operator* () |
+const Type & | operator* () const |
+void | Reset () |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+Directories | |
Nodes | |
+Files | |
ShaderGraph.h | |
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+
+ OpenShaderDesigner 0.0.1
+
+ |
+