TextureLoader.Save Method ()
Saves a texture to a file.
Overload List
public static void Save(string, ImageFileFormat, BaseTexture); public static void Save(string, ImageFileFormat, BaseTexture, out PaletteEntry);
Remarks
The Save method supports the .bmp and .dds file formats. It handles conversion to and from compressed texture formats.
If the volume is not dynamic (because a usage parameter was set to 0 at its creation) and is located in video memory (that is, the memory pool set to Default), this method fails because Microsoft Direct3D cannot lock non-dynamic volumes located in video memory.
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
See Also