sKit  0.0.9
buffers.hpp File Reference
#include <SDL3/SDL_gpu.h>
#include <algorithm>
#include <span>
#include <stdexcept>

Go to the source code of this file.

Namespaces

 sKit
 
 sKit::sdl
 

Functions

template<typename T , SDL_GPUBufferUsageFlags U>
SDL_GPUBuffer * sKit::sdl::createBuffer (SDL_GPUDevice *device, SDL_GPUCommandBuffer *commandBuffer, std::span< T > data)