#include <InstanceCullingManager.h>
|
| using | AllocatorType = InAllocatorType |
| |
| void | ReserveStorage (int32 NumBatches, int32 NumItems) |
| |
| void | Add (uint32 InstanceDataOffset, uint32 NumInstanceDataEntries, uint32 Payload) |
| |
| bool | IsEmpty () const |
| |
| FGPUData | Upload (FRDGBuilder &GraphBuilder, int32 NumGroupsPerBatch=1) |
| |
| FGPUData | UploadFinalized (FRDGBuilder &GraphBuilder, int32 NumGroupsPerBatch=1) const |
| |
| void | FinalizeBatches () |
| |
| FIntVector | GetWrappedCsGroupCount (int32 NumGroupsPerBatch=1) const |
| |
| const TArray< FPackedBatch, AllocatorType > & | GetBatches () const |
| |
| const TArray< FPackedItem, AllocatorType > & | GetItems () const |
| |
| uint32 | GetTotalNumInstances () const |
| |
| template<typename AllocatorType > |
| void | AppendData (const TInstanceCullingLoadBalancer< AllocatorType > &Other) |
| |
| bool | HasSingleInstanceItemsOnly () const |
| |
| FPackedBatch | PackBatch (uint32 FirstItem, uint32 NumItems) |
| |
| FPackedItem | PackItem (uint32 InstanceDataOffset, uint32 NumInstances, uint32 Payload, uint32 BatchPrefixSum) |
| |
| FGPUData | Upload (FRDGBuilder &GraphBuilder, TConstArrayView< FPackedBatch > Batches, TConstArrayView< FPackedItem > Items, ERDGInitialDataFlags RDGInitialDataFlags, int32 NumGroupsPerBatch) const |
| |
| FIntVector | GetWrappedCsGroupCount (TConstArrayView< FPackedBatch > Batches, int32 NumGroupsPerBatch) const |
| |
| static void | SetShaderDefines (FShaderCompilerEnvironment &OutEnvironment) |
| |
| static constexpr uint32 | ThreadGroupSize = 64U |
| |
| static constexpr uint32 | PrefixBits = 6U |
| |
| static constexpr uint32 | PrefixBitMask = (1U << PrefixBits) - 1U |
| |
| static constexpr uint32 | NumInstancesItemBits = PrefixBits + 1U |
| |
| static constexpr uint32 | NumInstancesItemMask = (1U << NumInstancesItemBits) - 1U |
| |
| TRefCountPtr< FData > | Data { new FData } |
| |
| uint32 | CurrentBatchPrefixSum = 0u |
| |
| uint32 | CurrentBatchNumItems = 0U |
| |
| uint32 | CurrentBatchPackedPrefixSum = 0U |
| |
| uint32 | CurrentBatchFirstItem = 0U |
| |
| uint32 | TotalInstances = 0U |
| |
The documentation for this class was generated from the following file: