A graphics backend: the device, the window contexts that render the GUI's windows,...
Definition gui_graphics_context.h:60
The images the shaders can sample, each at an ImageIndex. Implemented by the backend.
Definition gui_image.h:44
An image made by GraphicsContext::CreateImage; the backend defines its contents.
Definition gui_image.h:40
Definition gui_text_atlas_manager.h:17
The default graphics backend, on Vulkan 1.3.
Definition vk_graphics_context.h:33
Definition vk_text_atlas_manager.h:24
tachyon::vulkan::VulkanGraphicsContext * graphicsContext
Definition vk_text_atlas_manager.h:27
tachyon::ImageIndex GetImageIndex(tachyon::TextureIndex textureIndex) override
void UpdateTexture(tachyon::TextureIndex textureIndex, const uint8_t *imageData, tachyon::uint2 imageSize) override
void SyncTextureIndices() override
std::vector< FontTexture > fontTextures
Definition vk_text_atlas_manager.h:26
tachyon::vulkan::VulkanImageSet * imageSet
Definition vk_text_atlas_manager.h:28
bool Initialize(tachyon::GraphicsContext *graphicsContext, tachyon::ImageSet *imageSet) override
tachyon::TextureIndex CreateTexture(const uint8_t *imageData, tachyon::uint2 imageSize, uint8_t bpp) override
ImageIndex
Index of an image in the graphics context's image set, as the shaders sample it.
Definition gui_image.h:37
@ Invalid
Definition gui_image.h:37
TextureIndex
Definition gui_text_atlas_manager.h:14
Definition vk_defaults.h:4
Definition gui_base_types.h:75
Definition vk_text_atlas_manager.h:14
tachyon::uint2 size
Definition vk_text_atlas_manager.h:17
VkDescriptorImageInfo descriptorInfo
Definition vk_text_atlas_manager.h:15
int32_t bpp
Definition vk_text_atlas_manager.h:18
tachyon::Image * image
Definition vk_text_atlas_manager.h:16
tachyon::ImageIndex imageIndex
Definition vk_text_atlas_manager.h:19
bool used
Definition vk_text_atlas_manager.h:20