MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / setStatus

Method setStatus

modules/engine/runtime/src/io/vram/components.cpp:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13void VRAMIOStatusComponent::setStatus(ESkrIOStage status) SKR_NOEXCEPT
14{
15 if (status == SKR_IO_STAGE_CANCELLED)
16 {
17 // if (auto dest = static_cast<RAMIOBuffer*>(rq->destination.get()))
18 // dest->free_resource();
19 }
20 return IOStatusComponent::setStatus(status);
21}
22
23VRAMUploadComponent::VRAMUploadComponent(IIORequest* const request) SKR_NOEXCEPT
24 : IORequestComponent(request)

Callers 8

addRAMRequestsMethod · 0.45
ensureUploadRequestsMethod · 0.45
enqueueAndSubmitMethod · 0.45
pollSubmittedMethod · 0.45
enqueueBatchMethod · 0.45
cancel_Method · 0.45
complete_Method · 0.45
dispatchMethod · 0.45

Calls 1

setStatusFunction · 0.85

Tested by

no test coverage detected