libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
Loading...
Searching...
No Matches
mx::VKText::TextQuad Struct Reference
Collaboration diagram for mx::VKText::TextQuad:
[legend]

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.

Detailed Description

Definition at line 156 of file vk_text.hpp.

Constructor & Destructor Documentation

◆ TextQuad() [1/3]

mx::VKText::TextQuad::TextQuad ( )
default

◆ TextQuad() [2/3]

mx::VKText::TextQuad::TextQuad ( const TextQuad & )
delete

References TextQuad().

◆ TextQuad() [3/3]

mx::VKText::TextQuad::TextQuad ( TextQuad && other)
inlinenoexcept

Definition at line 178 of file vk_text.hpp.

References TextQuad().

◆ ~TextQuad()

mx::VKText::TextQuad::~TextQuad ( )
inline

Member Function Documentation

◆ operator=() [1/2]

TextQuad & mx::VKText::TextQuad::operator= ( const TextQuad & )
delete

References TextQuad().

◆ operator=() [2/2]

TextQuad & mx::VKText::TextQuad::operator= ( TextQuad && other)
inlinenoexcept

Member Data Documentation

◆ color

SDL_Color mx::VKText::TextQuad::color

Definition at line 160 of file vk_text.hpp.

Referenced by operator=(), and mx::VKText::printTextG_Solid().

◆ descriptorSet

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().

◆ device

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().

◆ height

int mx::VKText::TextQuad::height

Definition at line 159 of file vk_text.hpp.

Referenced by operator=(), and mx::VKText::printTextG_Solid().

◆ indexBuffer

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().

◆ indexBufferMemory

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().

◆ indexCount

uint32_t mx::VKText::TextQuad::indexCount = 0

Definition at line 171 of file vk_text.hpp.

Referenced by operator=(), and mx::VKText::printTextG_Solid().

◆ indices

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().

◆ ownsTexture

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().

◆ text

std::string mx::VKText::TextQuad::text

Definition at line 157 of file vk_text.hpp.

Referenced by operator=(), and mx::VKText::printTextG_Solid().

◆ textImage

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().

◆ textImageMemory

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().

◆ textImageView

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().

◆ vertexBuffer

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().

◆ vertexBufferMemory

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().

◆ vertices

std::vector<TextVertex> mx::VKText::TextQuad::vertices

Definition at line 161 of file vk_text.hpp.

Referenced by operator=(), and mx::VKText::printTextG_Solid().

◆ width

int mx::VKText::TextQuad::width

Definition at line 159 of file vk_text.hpp.

Referenced by operator=(), and mx::VKText::printTextG_Solid().

◆ x

int mx::VKText::TextQuad::x

Definition at line 158 of file vk_text.hpp.

Referenced by operator=(), and mx::VKText::printTextG_Solid().

◆ y

int mx::VKText::TextQuad::y

Definition at line 158 of file vk_text.hpp.

Referenced by operator=(), and mx::VKText::printTextG_Solid().


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