Skip to main content

Class TexFileExtensions

Extensions to Lumina.Data.Files.TexFile.

Assembly: Dalamud.dll
View Source
Declaration
public static class TexFileExtensions

Methods

GetRgbaImageData(TexFile)

Returns the image data formatted for ImGuiScene.RawDX11Scene.LoadImageRaw(System.Byte%5b%5d%2cSystem.Int32%2cSystem.Int32%2cSystem.Int32).

View Source
Declaration
public static byte[] GetRgbaImageData(this TexFile texFile)
Returns

System.Byte[]: The formatted image data.

Parameters
TypeNameDescription
Lumina.Data.Files.TexFiletexFileThe TexFile to format.