21 lines
317 B
C
21 lines
317 B
C
#pragma once
|
|
|
|
#include "MiniVulkan.h"
|
|
|
|
struct texture_object {
|
|
VkImage image;
|
|
VkImageLayout imageLayout;
|
|
|
|
VkDeviceMemory mem;
|
|
VkImageView view;
|
|
int32_t tex_width, tex_height;
|
|
};
|
|
|
|
typedef struct {
|
|
struct texture_object texture;
|
|
VkDeviceSize deviceSize;
|
|
|
|
uint8_t *conversionBuffer;
|
|
int stride;
|
|
} Texture5Impl;
|