16 lines
355 B
C++
16 lines
355 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <array>
|
|
#include <volk.h>
|
|
|
|
namespace render::vk::dds {
|
|
struct header_info {
|
|
unsigned int height;
|
|
unsigned int width;
|
|
unsigned int mipMapCount;
|
|
VkFormat format;
|
|
};
|
|
VkResult readDDS(const std::string& imagepath, std::vector<unsigned char>& data, header_info& info);
|
|
} |