14 lines
311 B
C++
14 lines
311 B
C++
|
#pragma once
|
||
|
|
||
|
#include <cstdint>
|
||
|
|
||
|
struct TextureUploaderI {
|
||
|
virtual ~TextureUploaderI(void) {}
|
||
|
|
||
|
//virtual uint64_t uploadRGBA(const uint8_t* data, uint64_t data_size) = 0;
|
||
|
virtual uint64_t uploadRGBA(const uint8_t* data, uint32_t width, uint32_t height) = 0;
|
||
|
|
||
|
virtual void destroy(uint64_t tex_id) = 0;
|
||
|
};
|
||
|
|