From 4f0969b5fece771102bdb81dab01a4cafedfdec3 Mon Sep 17 00:00:00 2001 From: Soreepeong Date: Thu, 23 Jun 2022 18:03:05 +0900 Subject: [PATCH] Minor corrections --- src/Lumina/Data/Parsing/Tex/Buffers/TextureBuffer.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Lumina/Data/Parsing/Tex/Buffers/TextureBuffer.cs b/src/Lumina/Data/Parsing/Tex/Buffers/TextureBuffer.cs index 7b3196bf..c5bc03cf 100644 --- a/src/Lumina/Data/Parsing/Tex/Buffers/TextureBuffer.cs +++ b/src/Lumina/Data/Parsing/Tex/Buffers/TextureBuffer.cs @@ -46,7 +46,16 @@ public abstract class TextureBuffer /// public readonly int NumBytes; - internal TextureBuffer( bool isDepthConstant, int width, int height, int depth, int[] mipmapAllocations, byte[] buffer ) + /// + /// Create a new instance of TextureBuffer. + /// + /// Specify whether the secondary mipmap and later get lesser number of depth. + /// Width of the primary mipmap. + /// Height of the primary mipmap. + /// Depth of the primary mipmap. + /// Number of bytes allocated for each mipmap. + /// Byte array containing multiple mipmaps, one right after another allocation. + protected TextureBuffer( bool isDepthConstant, int width, int height, int depth, int[] mipmapAllocations, byte[] buffer ) { IsDepthConstant = isDepthConstant; Width = width;