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

One MH2O UV texture-coordinate entry (two u16, divided by 8 in shaders). More...

#include <wowlib/formats/adt/chunks/liquid.hpp>

Public Member Functions

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

Public Attributes

std::uint16_t x = 0
 The u coordinate (divided by 8 in shaders).
std::uint16_t y = 0
 The v coordinate.

Detailed Description

One MH2O UV texture-coordinate entry (two u16, divided by 8 in shaders).

An MH2O liquid UV coordinate (case 1/3): x and y, each divided by 8 for shaders.

Definition at line 28 of file liquid.hpp.

Member Function Documentation

◆ operator==()

bool wowlib::formats::adt::chunks::UVMapEntry::operator== ( const UVMapEntry & ) const
default

Member Data Documentation

◆ x

std::uint16_t wowlib::formats::adt::chunks::UVMapEntry::x = 0

The u coordinate (divided by 8 in shaders).

Definition at line 30 of file liquid.hpp.

◆ y

std::uint16_t wowlib::formats::adt::chunks::UVMapEntry::y = 0

The v coordinate.

Definition at line 32 of file liquid.hpp.


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