Class TextureConversion
Provides static methods to convert memory from GTF to DDS or vice versa using a layout buffer.
Inherited Members
Namespace: GtfDdsSharp
Assembly: GtfDdsSharp.dll
Syntax
public static class TextureConversion
Methods
| Name | Description |
|---|---|
| ConvertBufferByLayout(byte*, uint, byte*, uint, Layout[], in GtfTextureInfo, bool) | Converts the specified memory from GTF to DDS or vice versa using the given layout buffer and GTF texture. |
| ConvertLayoutBuffer(Layout[], in GtfTextureInfo, in DdsHeader) | Initializes the specified layout buffer using the given GTF texture and DDS file header. |
| CreateLayoutBuffer(in GtfTextureInfo, in DdsHeader, out uint, out uint) | Creates a layout buffer using the specified GTF texture and DDS file header. |