Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGraph UE::Graph::ConvertToSingleBufferGraph
(
RangeType Graph, |
Convert an array of separately allocated edge ranges into a single buffer shared by all vertices and an edge graph of arrayviews into that buffer. | Experimental/Graph/GraphConvert.h | |
FGraph UE::Graph::ConvertToSingleBufferGraph
(
RangeType&& Graph, |
Convert an array of separately allocated edge ranges into a single buffer shared by all vertices and an edge graph of arrayviews into that buffer. | Experimental/Graph/GraphConvert.h |
UE::Graph::ConvertToSingleBufferGraph(RangeType, EConvertToGraphOptions)
Description
Convert an array of separately allocated edge ranges into a single buffer shared by all vertices and an edge graph of arrayviews into that buffer. No overlapping is done; every input edge range is reproduced in the output buffer. This version requires MultiBufferRange type to be a range type; see other prototype to provide a Projection.
| Name | UE::Graph::ConvertToSingleBufferGraph |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Experimental/Graph/GraphConvert.h |
| Include Path | #include "Experimental/Graph/GraphConvert.h" |
namespace UE
{
namespace Graph
{
template<typename RangeType>
FGraph UE::Graph::ConvertToSingleBufferGraph
(
RangeType Graph,
EConvertToGraphOptions Options
)
}
}
Parameters
| Name | Remarks |
|---|---|
| Graph | ArrayView of N vertices; each element is interpreted by the ProjectionType to return a range of edges for that vertex. |
| Options | for the conversion, |
See Also
UE::Graph::ConvertToSingleBufferGraph(RangeType &&, ProjectionType, EConvertToGraphOptions)
Description
Convert an array of separately allocated edge ranges into a single buffer shared by all vertices and an edge graph of arrayviews into that buffer. No overlapping is done; every input edge range is reproduced in the output buffer. No validation or normalization is performed; the final edge lists may contain integers which are not valid indices into the graph, duplicates, etc.
| Name | UE::Graph::ConvertToSingleBufferGraph |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Experimental/Graph/GraphConvert.h |
| Include Path | #include "Experimental/Graph/GraphConvert.h" |
namespace UE
{
namespace Graph
{
template<typename RangeType, typename ProjectionType>
FGraph UE::Graph::ConvertToSingleBufferGraph
(
RangeType && Graph,
ProjectionType Proj,
EConvertToGraphOptions Options
)
}
}
Parameters
| Name | Remarks |
|---|---|
| Graph | ArrayView of N vertices; each element is interpreted by the ProjectionType to return a range of edges for that vertex. |
| Proj | Returns the edges for Graph[n]. The prototype is // Input is either const& or by value. Output can be const&, &&, or by value. EdgeRangeType Proj(MultiBufferRangeType VertexEdges) EdgeRangeType must support GetData and GetNum. |
| Options | for the conversion, |