Loading...
Searching...
No Matches
Metadatas.hpp
1#pragma once
2
3#include <Crousti/Attributes.hpp>
4#include <Crousti/Concepts.hpp>
5
6#include <ossia/dataflow/safe_nodes/port.hpp>
7
8#include <boost/mp11/algorithm.hpp>
9#include <boost/pfr.hpp>
10
11#include <avnd/introspection/input.hpp>
12#include <avnd/introspection/output.hpp>
13namespace oscr
14{
15template <typename T>
16concept GpuNode = avnd::texture_input_introspection<T>::size >
170 || avnd::texture_output_introspection<T>::size > 0;
18
19template <typename T>
20concept GpuGraphicsNode2 = requires
21{
22 T::layout::graphics;
23};
24
25template <typename T>
26concept GpuComputeNode2 = requires
27{
28 T::layout::compute;
29};
30
31template <typename T>
33}
Definition Metadatas.hpp:26
Definition Metadatas.hpp:20
Definition Metadatas.hpp:16
Definition Metadatas.hpp:32
Definition Factories.hpp:19