Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::MetalComputeQueue::State Struct Reference

Public Member Functions

 State (WebGPUDevice &g, wgpu::Device d)

Public Attributes

WebGPUDevice & graphics
wgpu::Device device
WebGPUDevice worker
wgpu::Buffer waitBuffer
wgpu::Buffer workerScratch
std::vector< wgpu::Texture > bufferSurfaces
std::vector< BufferRange > pendingCopies
std::unordered_map< WGPUTexture, SharedImage > images
std::vector< SharedImage * > pending
bool healthy = true

Detailed Description

Definition at line 158 of file MetalComputeQueue.cpp.

Constructor & Destructor Documentation

◆ State()

esengine::MetalComputeQueue::State::State ( WebGPUDevice & g,
wgpu::Device d )
inline

Definition at line 170 of file MetalComputeQueue.cpp.

References device, graphics, and worker.

Member Data Documentation

◆ bufferSurfaces

std::vector<wgpu::Texture> esengine::MetalComputeQueue::State::bufferSurfaces

Definition at line 164 of file MetalComputeQueue.cpp.

◆ device

wgpu::Device esengine::MetalComputeQueue::State::device

Definition at line 160 of file MetalComputeQueue.cpp.

Referenced by State().

◆ graphics

WebGPUDevice& esengine::MetalComputeQueue::State::graphics

Definition at line 159 of file MetalComputeQueue.cpp.

Referenced by State().

◆ healthy

bool esengine::MetalComputeQueue::State::healthy = true

Definition at line 168 of file MetalComputeQueue.cpp.

◆ images

std::unordered_map<WGPUTexture, SharedImage> esengine::MetalComputeQueue::State::images

Definition at line 166 of file MetalComputeQueue.cpp.

◆ pending

std::vector<SharedImage*> esengine::MetalComputeQueue::State::pending

Definition at line 167 of file MetalComputeQueue.cpp.

◆ pendingCopies

std::vector<BufferRange> esengine::MetalComputeQueue::State::pendingCopies

Definition at line 165 of file MetalComputeQueue.cpp.

◆ waitBuffer

wgpu::Buffer esengine::MetalComputeQueue::State::waitBuffer

Definition at line 162 of file MetalComputeQueue.cpp.

◆ worker

WebGPUDevice esengine::MetalComputeQueue::State::worker

Definition at line 161 of file MetalComputeQueue.cpp.

Referenced by State().

◆ workerScratch

wgpu::Buffer esengine::MetalComputeQueue::State::workerScratch

Definition at line 163 of file MetalComputeQueue.cpp.


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