CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
MaterialGraphSocket.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2023 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
11
12namespace CeresEngine {
13
14 class MaterialGraphNode;
15
18 Float,
19 Vector2,
20 Vector3,
21 Vector4,
22 };
23
42
43} // namespace CeresEngine
Definition GraphSocket.hpp:46
Definition MaterialGraphNode.hpp:18
Definition MaterialGraphSocket.hpp:24
virtual bool isCompatibleWith(const MaterialGraphSocket &other)
Determines whether the given socket is compatible with this socket.
MaterialGraphSocket(MaterialGraphNode &node, GraphSocketDirection direction, MaterialGraphSocketType type)
Creates a new material graph socket.
MaterialGraphSocketType mType
The socket in/output type.
Definition MaterialGraphSocket.hpp:29
Definition Application.hpp:19
MaterialGraphSocketType
Specifies the type of a value connected in a material graph node.
Definition MaterialGraphSocket.hpp:17
GraphSocketDirection
Enumeration that determines the direction of a socket.
Definition GraphSocket.hpp:21
float Float
Definition DataTypes.hpp:32
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25