group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
Boilerplate::BufferUpload Struct Reference

Describes a pending CPU-to-GPU buffer upload: target buffer, source data, and byte size. More...

#include <Boilerplate.hpp>

Public Attributes

SDL_GPUBuffer * buffer = nullptr
const void * data = nullptr
size_t size = 0

Detailed Description

Describes a pending CPU-to-GPU buffer upload: target buffer, source data, and byte size.

Member Data Documentation

◆ buffer

SDL_GPUBuffer* Boilerplate::BufferUpload::buffer = nullptr

◆ data

const void* Boilerplate::BufferUpload::data = nullptr

◆ size

size_t Boilerplate::BufferUpload::size = 0

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