Foundation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPUSceneImpl::UploadBatchState Struct Reference

Public Member Functions

 UploadBatchState (Allocator *allocator)
 
 ~UploadBatchState ()
 

Public Attributes

Allocatorallocator {}
 
Vector< PendingGeometryUploadgeometry
 
Vector< PendingTextureUploadtextures
 
Vector< PendingBufferUploadbuffers
 
ImmediateUpload::UploadBatch batch
 
Vector< BlobCopyTaskwrites
 
Arena scratchArena {}
 
Vector< ArenascratchArenas
 
Vector< UniquePtr< AllocatorStack > > scratchAllocators
 
Vector< GeometryHandlegeometryHandles
 
Vector< uint32_t > geometryBLAS
 
Vector< Pair< uint32_t, bool > > uploadedTextures
 
RHIDeviceScopedHandle< RHIDeviceSemaphorecompletionTimeline
 
RHIDeviceScopedHandle< RHIDeviceQueryPoolcompactionQueries
 
RHIDeviceScopedHandle< RHIBufferuncompactedBLASBuffer
 
Vector< RHIDeviceScopedHandle< RHIAccelerationStructure > > uncompactedBLAS
 
Vector< size_t > meshGeometryIndices
 
UniquePtr< ImmediateContextblasContext
 
RHIDeviceScopedHandle< RHIBufferblasScratch
 
JobHandle prepareJob
 
JobHandle decodeJob
 
JobHandle submitJob
 
RHIDeviceSemaphorenextSemaphoreTimeline {}
 
size_t nextSemaphoreTimelineValue {}
 
size_t itemCount {}
 
Atomic< bool > submitted {false}
 
bool needsCompaction {false}
 
bool gpuComplete {false}
 

Constructor & Destructor Documentation

◆ UploadBatchState()

GPUSceneImpl::UploadBatchState::UploadBatchState ( Allocator allocator)
inlineexplicit

◆ ~UploadBatchState()

GPUSceneImpl::UploadBatchState::~UploadBatchState ( )
inline

Member Data Documentation

◆ allocator

Allocator* GPUSceneImpl::UploadBatchState::allocator {}

◆ batch

ImmediateUpload::UploadBatch GPUSceneImpl::UploadBatchState::batch

◆ blasContext

UniquePtr<ImmediateContext> GPUSceneImpl::UploadBatchState::blasContext

◆ blasScratch

RHIDeviceScopedHandle<RHIBuffer> GPUSceneImpl::UploadBatchState::blasScratch

◆ buffers

Vector<PendingBufferUpload> GPUSceneImpl::UploadBatchState::buffers

◆ compactionQueries

RHIDeviceScopedHandle<RHIDeviceQueryPool> GPUSceneImpl::UploadBatchState::compactionQueries

◆ completionTimeline

RHIDeviceScopedHandle<RHIDeviceSemaphore> GPUSceneImpl::UploadBatchState::completionTimeline

◆ decodeJob

JobHandle GPUSceneImpl::UploadBatchState::decodeJob

◆ geometry

Vector<PendingGeometryUpload> GPUSceneImpl::UploadBatchState::geometry

◆ geometryBLAS

Vector<uint32_t> GPUSceneImpl::UploadBatchState::geometryBLAS

◆ geometryHandles

Vector<GeometryHandle> GPUSceneImpl::UploadBatchState::geometryHandles

◆ gpuComplete

bool GPUSceneImpl::UploadBatchState::gpuComplete {false}

◆ itemCount

size_t GPUSceneImpl::UploadBatchState::itemCount {}

◆ meshGeometryIndices

Vector<size_t> GPUSceneImpl::UploadBatchState::meshGeometryIndices

◆ needsCompaction

bool GPUSceneImpl::UploadBatchState::needsCompaction {false}

◆ nextSemaphoreTimeline

RHIDeviceSemaphore* GPUSceneImpl::UploadBatchState::nextSemaphoreTimeline {}

◆ nextSemaphoreTimelineValue

size_t GPUSceneImpl::UploadBatchState::nextSemaphoreTimelineValue {}

◆ prepareJob

JobHandle GPUSceneImpl::UploadBatchState::prepareJob

◆ scratchAllocators

Vector<UniquePtr<AllocatorStack> > GPUSceneImpl::UploadBatchState::scratchAllocators

◆ scratchArena

Arena GPUSceneImpl::UploadBatchState::scratchArena {}

◆ scratchArenas

Vector<Arena> GPUSceneImpl::UploadBatchState::scratchArenas

◆ submitJob

JobHandle GPUSceneImpl::UploadBatchState::submitJob

◆ submitted

Atomic<bool> GPUSceneImpl::UploadBatchState::submitted {false}

◆ textures

Vector<PendingTextureUpload> GPUSceneImpl::UploadBatchState::textures

◆ uncompactedBLAS

Vector<RHIDeviceScopedHandle<RHIAccelerationStructure> > GPUSceneImpl::UploadBatchState::uncompactedBLAS

◆ uncompactedBLASBuffer

RHIDeviceScopedHandle<RHIBuffer> GPUSceneImpl::UploadBatchState::uncompactedBLASBuffer

◆ uploadedTextures

Vector<Pair<uint32_t, bool> > GPUSceneImpl::UploadBatchState::uploadedTextures

◆ writes

Vector<BlobCopyTask> GPUSceneImpl::UploadBatchState::writes

The documentation for this struct was generated from the following file: