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

Helper struct for batching texture loading. More...

Public Attributes

int m_w
int m_h
int m_channels
stbi_uc * m_pixels = nullptr
std::string m_path
uint32_t m_assignedIndex = 0
VkBuffer m_stagingBuffer = VK_NULL_HANDLE
VmaAllocation m_stagingAlloc = VK_NULL_HANDLE
VkImage m_image = VK_NULL_HANDLE
VmaAllocation m_imageAlloc = VK_NULL_HANDLE

Detailed Description

Helper struct for batching texture loading.

Definition at line 16 of file Resources.cpp.

Member Data Documentation

◆ m_assignedIndex

uint32_t vex::BatchedTextureData::m_assignedIndex = 0

Definition at line 20 of file Resources.cpp.

◆ m_channels

int vex::BatchedTextureData::m_channels

Definition at line 17 of file Resources.cpp.

◆ m_h

int vex::BatchedTextureData::m_h

Definition at line 17 of file Resources.cpp.

◆ m_image

VkImage vex::BatchedTextureData::m_image = VK_NULL_HANDLE

Definition at line 23 of file Resources.cpp.

◆ m_imageAlloc

VmaAllocation vex::BatchedTextureData::m_imageAlloc = VK_NULL_HANDLE

Definition at line 24 of file Resources.cpp.

◆ m_path

std::string vex::BatchedTextureData::m_path

Definition at line 19 of file Resources.cpp.

◆ m_pixels

stbi_uc* vex::BatchedTextureData::m_pixels = nullptr

Definition at line 18 of file Resources.cpp.

◆ m_stagingAlloc

VmaAllocation vex::BatchedTextureData::m_stagingAlloc = VK_NULL_HANDLE

Definition at line 22 of file Resources.cpp.

◆ m_stagingBuffer

VkBuffer vex::BatchedTextureData::m_stagingBuffer = VK_NULL_HANDLE

Definition at line 21 of file Resources.cpp.

◆ m_w

int vex::BatchedTextureData::m_w

Definition at line 17 of file Resources.cpp.


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