Navigation
API > API/Plugins > API/Plugins/OptimusCore > API/Plugins/OptimusCore/FOptimusPersistentBufferPool
References
| Module | OptimusCore |
| Header | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusDeformerInstance.h |
| Include | #include "OptimusDeformerInstance.h" |
| Source | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Private/OptimusDeformerInstance.cpp |
void GetResourceBuffers
&40;
FRDGBuilder & GraphBuilder,
FName InResourceName,
int32 InLODIndex,
int32 InElementStride,
int32 InRawStride,
TArray< int32 > const & InElementCounts,
TArray< FRDGBuffer &42; > & OutBuffers
&41;
Remarks
Get or allocate buffers for the given resource If the buffer already exists but has different sizing characteristics the allocation fails. The number of buffers will equal the size of the InElementCount array. But if the allocation fails, the returned array will be empty.