Method ConvertToDds
ConvertToDds(string, int?)
Converts the specified GTF file to a DDS file.
Declaration
public static void ConvertToDds(string gtfPath, int? index = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | gtfPath | The path of the GTF file to read from. |
| int? | index | The index of the texture to convert, or null to convert all. |
ConvertToDds(string, string, int?)
Converts the specified GTF file to a DDS file.
Declaration
public static void ConvertToDds(string gtfPath, string ddsPath, int? index = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | gtfPath | The path of the GTF file to read from. |
| string | ddsPath | The path to write the DDS file to. |
| int? | index | The index of the texture to convert, or null to convert all. |