Table of Contents

Enum LiquidVertexFormat

Namespace
WoWLib.Formats.ADT.Chunks
Assembly
WoWLib.dll

The MH2O per-instance vertex layout (LiquidVertexFormat). Which arrays a liquid instance stores — heights, depths, texture coordinates — and thus how wowlib decodes and re-lays its vertex data.

public enum LiquidVertexFormat : ushort

Fields

DepthOnly = 2

Case 2: a byte depth map only; the surface is flat at 0.0 (ocean).

HeightDepth = 0

Case 0: a float height map and a byte depth map (the pre-WoD go-to).

HeightUv = 1

Case 1: a float height map and a UV texture-coordinate map.

HeightUvDepth = 3

Case 3: a float height map, a UV map and a byte depth map.