|
libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
|
Public Member Functions | |
| TextQuad ()=default | |
| TextQuad (const TextQuad &)=delete | |
| TextQuad & | operator= (const TextQuad &)=delete |
| TextQuad (TextQuad &&other) noexcept | |
| TextQuad & | operator= (TextQuad &&other) noexcept |
| ~TextQuad () | |
Public Attributes | |
| std::string | text |
| int | x |
| int | y |
| int | width |
| int | height |
| SDL_Color | color |
| std::vector< TextVertex > | vertices |
| std::vector< uint16_t > | indices |
| VkBuffer | vertexBuffer = VK_NULL_HANDLE |
| VkDeviceMemory | vertexBufferMemory = VK_NULL_HANDLE |
| VkBuffer | indexBuffer = VK_NULL_HANDLE |
| VkDeviceMemory | indexBufferMemory = VK_NULL_HANDLE |
| VkImage | textImage = VK_NULL_HANDLE |
| VkDeviceMemory | textImageMemory = VK_NULL_HANDLE |
| VkImageView | textImageView = VK_NULL_HANDLE |
| VkDescriptorSet | descriptorSet = VK_NULL_HANDLE |
| uint32_t | indexCount = 0 |
| VkDevice | device = VK_NULL_HANDLE |
| bool | ownsTexture = true |
| false when texture is owned by the cache. | |
Definition at line 156 of file vk_text.hpp.
|
default |
Referenced by operator=(), operator=(), TextQuad(), and TextQuad().
|
delete |
References TextQuad().
|
inlinenoexcept |
Definition at line 178 of file vk_text.hpp.
References TextQuad().
|
inline |
Definition at line 218 of file vk_text.hpp.
References device, indexBuffer, indexBufferMemory, ownsTexture, textImage, textImageMemory, textImageView, vertexBuffer, and vertexBufferMemory.
References TextQuad().
Definition at line 181 of file vk_text.hpp.
References color, descriptorSet, device, height, indexBuffer, indexBufferMemory, indexCount, indices, ownsTexture, text, textImage, textImageMemory, textImageView, TextQuad(), vertexBuffer, vertexBufferMemory, vertices, width, x, and y.
| SDL_Color mx::VKText::TextQuad::color |
Definition at line 160 of file vk_text.hpp.
Referenced by operator=(), and mx::VKText::printTextG_Solid().
| VkDescriptorSet mx::VKText::TextQuad::descriptorSet = VK_NULL_HANDLE |
Definition at line 170 of file vk_text.hpp.
Referenced by operator=(), and mx::VKText::printTextG_Solid().
| VkDevice mx::VKText::TextQuad::device = VK_NULL_HANDLE |
Definition at line 172 of file vk_text.hpp.
Referenced by operator=(), mx::VKText::printTextG_Solid(), and ~TextQuad().
| int mx::VKText::TextQuad::height |
Definition at line 159 of file vk_text.hpp.
Referenced by operator=(), and mx::VKText::printTextG_Solid().
| VkBuffer mx::VKText::TextQuad::indexBuffer = VK_NULL_HANDLE |
Definition at line 165 of file vk_text.hpp.
Referenced by operator=(), mx::VKText::printTextG_Solid(), and ~TextQuad().
| VkDeviceMemory mx::VKText::TextQuad::indexBufferMemory = VK_NULL_HANDLE |
Definition at line 166 of file vk_text.hpp.
Referenced by operator=(), mx::VKText::printTextG_Solid(), and ~TextQuad().
| uint32_t mx::VKText::TextQuad::indexCount = 0 |
Definition at line 171 of file vk_text.hpp.
Referenced by operator=(), and mx::VKText::printTextG_Solid().
| std::vector<uint16_t> mx::VKText::TextQuad::indices |
Definition at line 162 of file vk_text.hpp.
Referenced by operator=(), and mx::VKText::printTextG_Solid().
| bool mx::VKText::TextQuad::ownsTexture = true |
false when texture is owned by the cache.
Definition at line 173 of file vk_text.hpp.
Referenced by operator=(), mx::VKText::printTextG_Solid(), and ~TextQuad().
| std::string mx::VKText::TextQuad::text |
Definition at line 157 of file vk_text.hpp.
Referenced by operator=(), and mx::VKText::printTextG_Solid().
| VkImage mx::VKText::TextQuad::textImage = VK_NULL_HANDLE |
Definition at line 167 of file vk_text.hpp.
Referenced by operator=(), mx::VKText::printTextG_Solid(), and ~TextQuad().
| VkDeviceMemory mx::VKText::TextQuad::textImageMemory = VK_NULL_HANDLE |
Definition at line 168 of file vk_text.hpp.
Referenced by operator=(), mx::VKText::printTextG_Solid(), and ~TextQuad().
| VkImageView mx::VKText::TextQuad::textImageView = VK_NULL_HANDLE |
Definition at line 169 of file vk_text.hpp.
Referenced by operator=(), mx::VKText::printTextG_Solid(), and ~TextQuad().
| VkBuffer mx::VKText::TextQuad::vertexBuffer = VK_NULL_HANDLE |
Definition at line 163 of file vk_text.hpp.
Referenced by operator=(), mx::VKText::printTextG_Solid(), and ~TextQuad().
| VkDeviceMemory mx::VKText::TextQuad::vertexBufferMemory = VK_NULL_HANDLE |
Definition at line 164 of file vk_text.hpp.
Referenced by operator=(), mx::VKText::printTextG_Solid(), and ~TextQuad().
| std::vector<TextVertex> mx::VKText::TextQuad::vertices |
Definition at line 161 of file vk_text.hpp.
Referenced by operator=(), and mx::VKText::printTextG_Solid().
| int mx::VKText::TextQuad::width |
Definition at line 159 of file vk_text.hpp.
Referenced by operator=(), and mx::VKText::printTextG_Solid().
| int mx::VKText::TextQuad::x |
Definition at line 158 of file vk_text.hpp.
Referenced by operator=(), and mx::VKText::printTextG_Solid().
| int mx::VKText::TextQuad::y |
Definition at line 158 of file vk_text.hpp.
Referenced by operator=(), and mx::VKText::printTextG_Solid().