|
Vookoo
|
Layout of a KTX file in a buffer. More...
#include <vku.hpp>
Public Member Functions | |
| KTXFileLayout (uint8_t *begin, uint8_t *end) | |
| uint32_t | offset (uint32_t mipLevel, uint32_t arrayLayer, uint32_t face) |
| uint32_t | size (uint32_t mipLevel) |
| bool | ok () const |
| vk::Format | format () const |
| uint32_t | mipLevels () const |
| uint32_t | arrayLayers () const |
| uint32_t | faces () const |
| uint32_t | width (uint32_t mipLevel) const |
| uint32_t | height (uint32_t mipLevel) const |
| uint32_t | depth (uint32_t mipLevel) const |
| void | upload (vk::Device device, vku::GenericImage &image, std::vector< uint8_t > &bytes, vk::CommandPool commandPool, vk::PhysicalDeviceMemoryProperties memprops, vk::Queue queue) |
Layout of a KTX file in a buffer.
1.8.11