MCPcopy Create free account
hub / github.com/PCGEx/PCGExtendedToolkit / FindBuffer

Function FindBuffer

Source/PCGExtendedToolkit/Public/Data/PCGExData.h:562–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560
561 template <typename T>
562 TSharedPtr<TBuffer<T>> FindBuffer(const FName FullName)
563 {
564 const TSharedPtr<FBufferBase> Found = FindBuffer(BufferUID(FullName, PCGEx::GetMetadataType<T>()));
565 if (!Found) { return nullptr; }
566 return StaticCastSharedPtr<TBuffer<T>>(Found);
567 }
568
569 template <typename T>
570 TSharedPtr<TBuffer<T>> GetBuffer(FName FullName)

Callers

nothing calls this directly

Calls 1

BufferUIDFunction · 0.85

Tested by

no test coverage detected