![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NaniteShared.h>
Public Types | |
| using | ArrayType = TArray< FPackedView, SceneRenderingAllocator > |
| using | TaskLambdaType = TFunction< void(ArrayType &)> |
Public Member Functions | |
| const ArrayType & | GetViews () const |
| UE::Tasks::FTask | GetSetupTask () const |
Static Public Member Functions | |
| static FPackedViewArray * | Create (FRDGBuilder &GraphBuilder, const FPackedView &View) |
| static FPackedViewArray * | Create (FRDGBuilder &GraphBuilder, uint32 NumViews, ArrayType &&Views) |
| static FPackedViewArray * | CreateWithSetupTask (FRDGBuilder &GraphBuilder, uint32 NumViews, TaskLambdaType &&TaskLambda, UE::Tasks::FPipe *Pipe=nullptr, bool bExecuteInTask=true) |
Public Attributes | |
| const uint32 | NumViews |
|
static |
Creates a packed view array for a single element.
|
static |
Creates a packed view array for an existing array.
|
static |
Creates a packed view array by launching an RDG setup task.
|
inline |
|
inline |
Returns the view array, and will sync the setup task if one exists.
| const uint32 Nanite::FPackedViewArray::NumViews |