Interface ITextureCompression
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
Provides access to compress and uncompress texture data.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("B5F3860A-FCE1-4E71-8F12-BC5C6BB0F280")]
public interface ITextureCompression
Properties
BSQ
Indicates output should be packed in BSQ pixel interleave format.
bool BSQ { get; set; }
Property Value
CompressionQuality
Compression quality of texture data.
int CompressionQuality { get; set; }
Property Value
Methods
CompressTexture(esriTextureCompressionType, int, int, int, ref byte, out int, IntPtr)
Compress the current the input buffer.
void CompressTexture(esriTextureCompressionType type, int Width, int height, int channels, ref byte pInData, out int pByteCount, IntPtr ppOutBuff)
Parameters
typeesriTextureCompressionTypeWidthintheightintchannelsintpInDatabytepByteCountintppOutBuffIntPtr
FreeCompressData(ref byte)
Free the Compression buffer created in Compress texture.
void FreeCompressData(ref byte pInData)
Parameters
pInDatabyte
UnCompressTexture(esriTextureCompressionType, int, int, int, int, ref byte, out byte)
UnCompress the current the input buffer.
void UnCompressTexture(esriTextureCompressionType type, int Width, int height, int channels, int Size, ref byte pInData, out byte pOutBuff)