|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::upload_to_gpu | ( | std::span< const T > | data, |
| const std::shared_ptr< VKBuffer > & | target, | ||
| const std::shared_ptr< VKBuffer > & | staging = nullptr |
||
| ) |
Upload typed data to GPU buffer.
| T | Data type (float, double, int, etc.) |
| data | Source data span |
| target | Target GPU buffer |
| staging | Optional staging buffer |
Definition at line 86 of file StagingUtils.hpp.
References upload_to_gpu().
Here is the call graph for this function: