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

Method GetInKeys

Source/PCGExtendedToolkit/Private/Data/PCGExPointIO.cpp:142–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 }
141
142 TSharedPtr<FPCGAttributeAccessorKeysPoints> FPointIO::GetInKeys()
143 {
144 TRACE_CPUPROFILER_EVENT_SCOPE(FPointIO::GetInKeys);
145
146 {
147 FReadScopeLock ReadScopeLock(InKeysLock);
148 if (InKeys) { return InKeys; }
149 }
150
151 {
152 FWriteScopeLock WriteScopeLock(InKeysLock);
153 if (InKeys) { return InKeys; }
154 if (const TSharedPtr<FPointIO> PinnedRoot = RootIO.Pin()) { InKeys = PinnedRoot->GetInKeys(); }
155 else { InKeys = MakeShared<FPCGAttributeAccessorKeysPoints>(In->GetPoints()); }
156 }
157
158 return InKeys;
159 }
160
161 TSharedPtr<FPCGAttributeAccessorKeysPoints> FPointIO::GetOutKeys(const bool bEnsureValidKeys)
162 {

Callers 6

FetchMethod · 0.80
GrabAndDumpMethod · 0.80
GrabUniqueValuesMethod · 0.80
ScopeMergeFunction · 0.80
PrepareReadMethod · 0.80
FetchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected