Skip to content

File DataTextureUploadTotals.hpp

File List > internal > DataTextureUploadTotals.hpp

Go to the documentation of this file

//
// SPDX-FileCopyrightText: 2026 Michal Grabarczyk
// SPDX-License-Identifier: GPL-3.0-only WITH Universal-FOSS-exception-1.0
//
// This file is also available under a separate commercial license.
// See COMMERCIAL-LICENSING.md for contact information.
//
#pragma once

#include <cstdint>

namespace QAccelPlot::Internal {

struct DataTextureUploadTotals {
    std::int64_t count{0}; 
    std::int64_t bytes{0}; 
};

void recordDataTextureUpload(std::int64_t bytes);

DataTextureUploadTotals dataTextureUploadTotals();

void resetDataTextureUploadTotals();

} // namespace QAccelPlot::Internal