Method GetHeaderSize
GetHeaderSize(GtfHeader)
Computes the size of the GTF file's header, including texture attributes, in bytes.
Declaration
public static uint GetHeaderSize(this GtfHeader gtfHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| GtfHeader | gtfHeader | The GTF file header. |
Returns
| Type | Description |
|---|---|
| uint | The size of the GTF file's header, including texture attributes, in bytes. |
GetHeaderSize(uint)
Computes the size of the GTF file's header, including texture attributes, in bytes.
Declaration
public static uint GetHeaderSize(uint numTexture)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | numTexture | The number of textures. |
Returns
| Type | Description |
|---|---|
| uint | The size of the GTF file's header, including texture attributes, in bytes. |