Class TextureContentFile
- Namespace
- ValveResourceFormat.IO
- Assembly
- ValveResourceFormat.dll
Represents a content file for textures with an associated bitmap.
public class TextureContentFile : ContentFile, IDisposable
Inheritance
Implements
Inherited Members
Properties
Bitmap
Gets or initializes the bitmap data.
public SKBitmap Bitmap { get; init; }
Property Value
Methods
AddImageSubFile(string, Func<SKBitmap, byte[]>)
Adds an image sub-file with a custom extraction function.
public void AddImageSubFile(string fileName, Func<SKBitmap, byte[]> imageExtractFunction)
Parameters
Dispose(bool)
Releases resources used by this instance.
protected override void Dispose(bool disposing)
Parameters
disposing
bool