VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::FontAtlas Struct Reference

Font atlas structure. More...

#include <VexUI.hpp>

Public Attributes

stbtt_fontinfo info {}
std::vector< stbtt_bakedchar > cdata
VkImage image = VK_NULL_HANDLE
VmaAllocation alloc = VK_NULL_HANDLE
VkImageView view = VK_NULL_HANDLE
uint32_t texIdx = 0
int width = 0
int height = 0
float ascent = 0.f
float descent = 0.f
float scale = 0.f
float bakedSize = 0.f

Detailed Description

Font atlas structure.

Definition at line 76 of file VexUI.hpp.

Member Data Documentation

◆ alloc

VmaAllocation vex::FontAtlas::alloc = VK_NULL_HANDLE

Definition at line 80 of file VexUI.hpp.

◆ ascent

float vex::FontAtlas::ascent = 0.f

Definition at line 84 of file VexUI.hpp.

◆ bakedSize

float vex::FontAtlas::bakedSize = 0.f

Definition at line 87 of file VexUI.hpp.

◆ cdata

std::vector<stbtt_bakedchar> vex::FontAtlas::cdata

Definition at line 78 of file VexUI.hpp.

◆ descent

float vex::FontAtlas::descent = 0.f

Definition at line 85 of file VexUI.hpp.

◆ height

int vex::FontAtlas::height = 0

Definition at line 83 of file VexUI.hpp.

◆ image

VkImage vex::FontAtlas::image = VK_NULL_HANDLE

Definition at line 79 of file VexUI.hpp.

◆ info

stbtt_fontinfo vex::FontAtlas::info {}

Definition at line 77 of file VexUI.hpp.

◆ scale

float vex::FontAtlas::scale = 0.f

Definition at line 86 of file VexUI.hpp.

◆ texIdx

uint32_t vex::FontAtlas::texIdx = 0

Definition at line 82 of file VexUI.hpp.

◆ view

VkImageView vex::FontAtlas::view = VK_NULL_HANDLE

Definition at line 81 of file VexUI.hpp.

◆ width

int vex::FontAtlas::width = 0

Definition at line 83 of file VexUI.hpp.


The documentation for this struct was generated from the following file: