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

bool

CompressionQuality

Compression quality of texture data.

int CompressionQuality { get; set; }

Property Value

int

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

type esriTextureCompressionType
Width int
height int
channels int
pInData byte
pByteCount int
ppOutBuff IntPtr

FreeCompressData(ref byte)

Free the Compression buffer created in Compress texture.

void FreeCompressData(ref byte pInData)

Parameters

pInData byte

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)

Parameters

type esriTextureCompressionType
Width int
height int
channels int
Size int
pInData byte
pOutBuff byte