mirror of
https://github.com/MartinOpat/cuda-based-raytrace.git
synced 2025-06-07 02:13:10 +02:00
working metadata reading
This commit is contained in:
1 parent
7b3c87c656
commit
109566d7b6
6 files changed
+186
-64
No files matched your search
@@ -18,10 +18,13 @@ public:
|
||||
|
||||
GPUBuffer(DataReader& dataReader);
|
||||
|
||||
void loadFile(size_t fileIndex, size_t bufferIndex); // Async call
|
||||
void loadFile(size_t fileIndex, size_t bufferIndex); // No blocking
|
||||
|
||||
DataHandle getDataHandle(size_t bufferIndex); // Potentially blocking
|
||||
|
||||
template <typename T>
|
||||
std::pair<size_t, T *> getAxis(size_t fileIndex, const std::string& axisName); // Most probably blocking
|
||||
|
||||
~GPUBuffer();
|
||||
private:
|
||||
class impl;
|
||||
|
||||