63 std::vector<std::pair<int, Chronos::Engine::TextParams>> textDetails;
64 for (
auto& text : engine.objectManager.objects) {
68 std::pair<int, Chronos::Engine::TextParams> textDetail;
69 textDetail.first = text.first;
71 textDetails.push_back(textDetail);
Class for creating a text object for rendering text.
Chronos::Engine::TextParams params
Various parameters of the text that are set by the user.
void init(Chronos::Engine::Device *device, VkCommandPool commandPool, Chronos::Engine::SwapChain *swapChain, VkSampler textureSampler, VkRenderPass *renderPass, Chronos::Engine::FontTypes fontStyle)
Initializes the font object and creates the necessary objects.
Parameters for rendering text.