.................
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -36,7 +37,9 @@ namespace anm2ed::resource
|
||||
Texture(const uint8_t*, glm::ivec2);
|
||||
Texture(const char*, size_t, glm::ivec2);
|
||||
Texture(const std::string&);
|
||||
Texture(const std::filesystem::path&);
|
||||
bool write_png(const std::string&);
|
||||
bool write_png(const std::filesystem::path&);
|
||||
void pixel_set(glm::ivec2, glm::vec4);
|
||||
void pixel_line(glm::ivec2, glm::ivec2, glm::vec4);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user