wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::blp::Image Struct Reference

#include <wowlib/formats/blp/blp.hpp>

Public Member Functions

bool operator== (const Image &) const =default

Public Attributes

std::uint32_t width = 0
 The width in pixels.
std::uint32_t height = 0
 The height in pixels.
std::vector< std::uint8_t > pixels
 The RGBA8 pixel bytes, width * height * 4, row-major from the top-left.

Detailed Description

Definition at line 129 of file blp.hpp.

Member Function Documentation

◆ operator==()

bool wowlib::formats::blp::Image::operator== ( const Image & ) const
default

Member Data Documentation

◆ height

std::uint32_t wowlib::formats::blp::Image::height = 0

The height in pixels.

Definition at line 134 of file blp.hpp.

Referenced by wowlib::formats::blp::BLP::encode().

◆ pixels

std::vector<std::uint8_t> wowlib::formats::blp::Image::pixels

The RGBA8 pixel bytes, width * height * 4, row-major from the top-left.

Definition at line 137 of file blp.hpp.

Referenced by wowlib::formats::blp::BLP::encode().

◆ width

std::uint32_t wowlib::formats::blp::Image::width = 0

The width in pixels.

Definition at line 131 of file blp.hpp.

Referenced by wowlib::formats::blp::BLP::encode().


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