Class Textures
- Namespace
- Mech3DotNet.Zbd
- Assembly
- Mech3DotNet.dll
Image or texture data.
See Read(string) for reading a texture .zbd
file.
public class Textures : IWritable
- Inheritance
-
Textures
- Implements
- Inherited Members
Constructors
Textures(Dictionary<string, byte[]>, List<TextureInfo>, List<PaletteData>)
public Textures(Dictionary<string, byte[]> textureData, List<TextureInfo> textureInfos, List<PaletteData> globalPalettes)
Parameters
textureData
Dictionary<string, byte[]>textureInfos
List<TextureInfo>globalPalettes
List<PaletteData>
Fields
globalPalettes
public List<PaletteData> globalPalettes
Field Value
- List<PaletteData>
textureData
public Dictionary<string, byte[]> textureData
Field Value
- Dictionary<string, byte[]>
textureInfos
public List<TextureInfo> textureInfos
Field Value
- List<TextureInfo>
Methods
Read(string)
Read a texture .zbd
file from the specified path.
public static Textures Read(string path)
Parameters
path
string
Returns
ReadAsDict(string)
Read a texture .zbd
file from the specified path, discarding
some manifest data.
Without the manifest, the data cannot be written again.
public static Dictionary<string, FusedTexture> ReadAsDict(string path)
Parameters
path
string
Returns
- Dictionary<string, FusedTexture>
Write(string)
Write a texture .zbd
file to the specified path.
public void Write(string path)
Parameters
path
string