Skip to content

Commit

Permalink
Minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Soreepeong committed Jun 23, 2022
1 parent a524484 commit 4f0969b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Lumina/Data/Parsing/Tex/Buffers/TextureBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,16 @@ public abstract class TextureBuffer
/// </summary>
public readonly int NumBytes;

internal TextureBuffer( bool isDepthConstant, int width, int height, int depth, int[] mipmapAllocations, byte[] buffer )
/// <summary>
/// Create a new instance of TextureBuffer.
/// </summary>
/// <param name="isDepthConstant">Specify whether the secondary mipmap and later get lesser number of depth.</param>
/// <param name="width">Width of the primary mipmap.</param>
/// <param name="height">Height of the primary mipmap.</param>
/// <param name="depth">Depth of the primary mipmap.</param>
/// <param name="mipmapAllocations">Number of bytes allocated for each mipmap.</param>
/// <param name="buffer">Byte array containing multiple mipmaps, one right after another allocation.</param>
protected TextureBuffer( bool isDepthConstant, int width, int height, int depth, int[] mipmapAllocations, byte[] buffer )
{
IsDepthConstant = isDepthConstant;
Width = width;
Expand Down

0 comments on commit 4f0969b

Please sign in to comment.