Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
EngineCore::TextureLoadData Struct Reference

#include <TextureLoadData.h>

Collaboration diagram for EngineCore::TextureLoadData:

Public Member Functions

 TextureLoadData (std::vector< unsigned char > imageData, int width, int height, int channels)
bool operator== (const TextureLoadData &other) const

Public Attributes

int width
int height
int channels
std::vector< unsigned char > imageData

Detailed Description

Definition at line 6 of file TextureLoadData.h.

Constructor & Destructor Documentation

◆ TextureLoadData()

EngineCore::TextureLoadData::TextureLoadData ( std::vector< unsigned char > imageData,
int width,
int height,
int channels )
inline

Definition at line 7 of file TextureLoadData.h.

References channels, height, imageData, and width.

Referenced by operator==().

Here is the caller graph for this function:

Member Function Documentation

◆ operator==()

bool EngineCore::TextureLoadData::operator== ( const TextureLoadData & other) const
inline

Definition at line 21 of file TextureLoadData.h.

References channels, height, imageData, TextureLoadData(), and width.

Here is the call graph for this function:

Member Data Documentation

◆ channels

int EngineCore::TextureLoadData::channels

◆ height

int EngineCore::TextureLoadData::height

◆ imageData

std::vector<unsigned char> EngineCore::TextureLoadData::imageData

◆ width

int EngineCore::TextureLoadData::width

The documentation for this struct was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Texture/TextureLoadData.h