gpu.cpp 0.1.0
 
Loading...
Searching...
No Matches
gpu::CopyData Struct Reference

Staging buffer and callback data for copying data between the GPU and CPU. More...

#include <gpu.h>

Public Attributes

WGPUCommandBuffer commandBuffer
 
WGPUBuffer readbackBuffer
 
std::promise< void > promise
 
std::future< void > future
 

Detailed Description

Staging buffer and callback data for copying data between the GPU and CPU.

Definition at line 370 of file gpu.h.

Member Data Documentation

◆ commandBuffer

WGPUCommandBuffer gpu::CopyData::commandBuffer

Definition at line 371 of file gpu.h.

◆ future

std::future<void> gpu::CopyData::future

Definition at line 374 of file gpu.h.

◆ promise

std::promise<void> gpu::CopyData::promise

Definition at line 373 of file gpu.h.

◆ readbackBuffer

WGPUBuffer gpu::CopyData::readbackBuffer

Definition at line 372 of file gpu.h.


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