#include <vkTextRenderer.h>
|
| TextRenderer (const Device &device, const Command &command, const RenderPass &renderPass, const VkViewport &viewport, const VkRect2D &scissor, uint32_t concurrentFrames, VkSampleCountFlagBits msaa) |
|
| ~TextRenderer () |
|
void | renderText (const Device &device, const Command &command, const VkCommandBuffer &commandBuffer, uint32_t currentFrame, std::string text, glm::vec2 position, float scale, glm::vec4 colour, glm::bvec2 centre=glm::bvec2(false, false)) |
|
void | setProjection (glm::mat4 p) |
|
◆ TextRenderer()
jGL::Vulkan::TextRenderer::TextRenderer |
( |
const Device & |
device, |
|
|
const Command & |
command, |
|
|
const RenderPass & |
renderPass, |
|
|
const VkViewport & |
viewport, |
|
|
const VkRect2D & |
scissor, |
|
|
uint32_t |
concurrentFrames, |
|
|
VkSampleCountFlagBits |
msaa |
|
) |
| |
◆ ~TextRenderer()
jGL::Vulkan::TextRenderer::~TextRenderer |
( |
| ) |
|
|
inline |
◆ renderText()
void jGL::Vulkan::TextRenderer::renderText |
( |
const Device & |
device, |
|
|
const Command & |
command, |
|
|
const VkCommandBuffer & |
commandBuffer, |
|
|
uint32_t |
currentFrame, |
|
|
std::string |
text, |
|
|
glm::vec2 |
position, |
|
|
float |
scale, |
|
|
glm::vec4 |
colour, |
|
|
glm::bvec2 |
centre = glm::bvec2(false,false) |
|
) |
| |
◆ setProjection()
void jGL::Vulkan::TextRenderer::setProjection |
( |
glm::mat4 |
p | ) |
|
The documentation for this class was generated from the following files: