Polyphase Game Engine
Loading...
Searching...
No Matches
GraphTypes.h File Reference
#include "Datum.h"
#include <cstdint>

Go to the source code of this file.

Typedefs

typedef uint32_t GraphNodeId
 
typedef uint32_t GraphPinId
 
typedef uint32_t GraphLinkId
 

Enumerations

enum class  GraphPinDirection : uint8_t { Input , Output }
 

Functions

bool AreGraphPinTypesCompatible (DatumType outputType, DatumType inputType)
 
const char * GetDatumTypeName (DatumType type)
 
glm::vec4 GetDatumTypeColor (DatumType type)
 

Variables

constexpr GraphNodeId INVALID_GRAPH_NODE_ID = 0
 
constexpr GraphPinId INVALID_GRAPH_PIN_ID = 0
 
constexpr GraphLinkId INVALID_GRAPH_LINK_ID = 0
 

Typedef Documentation

◆ GraphLinkId

typedef uint32_t GraphLinkId

◆ GraphNodeId

typedef uint32_t GraphNodeId

◆ GraphPinId

typedef uint32_t GraphPinId

Enumeration Type Documentation

◆ GraphPinDirection

enum class GraphPinDirection : uint8_t
strong
Enumerator
Input 
Output 

Function Documentation

◆ AreGraphPinTypesCompatible()

bool AreGraphPinTypesCompatible ( DatumType  outputType,
DatumType  inputType 
)

◆ GetDatumTypeColor()

glm::vec4 GetDatumTypeColor ( DatumType  type)

◆ GetDatumTypeName()

const char * GetDatumTypeName ( DatumType  type)

Variable Documentation

◆ INVALID_GRAPH_LINK_ID

constexpr GraphLinkId INVALID_GRAPH_LINK_ID = 0
constexpr

◆ INVALID_GRAPH_NODE_ID

constexpr GraphNodeId INVALID_GRAPH_NODE_ID = 0
constexpr

◆ INVALID_GRAPH_PIN_ID

constexpr GraphPinId INVALID_GRAPH_PIN_ID = 0
constexpr