Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
Interface Declaration Builders create vertex interfaces from a template parameter pack. This allows developers to express their node interfaces as declarations as opposed to requiring them to sequentially construct their interfaces.
For example, we can do:
FInputVertexInterface Interface { TInputDataVertex
As opposed to: FInputVertexInterface Interface;
Interface.Add(TInputDataVertex
The builders size memory allocations exactly to remove any addition slack. In general, there can be many interfaces in memory and minimizing their memory footprint is important. Interface builder for FInputVertexInterface declarations.
| Name | FInputVertexInterfaceDeclarationBuilder |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundVertex.h |
| Include Path | #include "MetasoundVertex.h" |
Syntax
template<typename VertexType>
class FInputVertexInterfaceDeclarationBuilder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInputVertexInterfaceDeclarationBuilder
(
TArray< FInputDataVertex >& OutVertices |
MetasoundVertex.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Vertices | TArray< FInputDataVertex > & | MetasoundVertex.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Build
(
ArgTypes&&... InArgs |
MetasoundVertex.h |