TinyGPU
Loading...
Searching...
No Matches
Vector.h
Go to the documentation of this file.
1#pragma once
2#include <vector>
3
4namespace tinygpu {
5
6#if TINYGPU_USE_PSRAM_ALLOCATOR
7// Type alias for Vector using PSRAMAllocator
8template <typename T>
10#else
11// Fallback to standard vector if PSRAMAllocator is not used
12template <typename T>
13using Vector = std::vector<T>;
14#endif
15
16} // namespace tinygpu
Definition: AVIWriter.h:9