This document is archived and information here might be outdated.  Recommended version.


ITextureCompression.CompressTexture Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

ITextureCompression.CompressTexture Method

Compress the current the input buffer.

[Visual Basic .NET]
Public Sub CompressTexture ( _
    ByVal type As esriTextureCompressionType, _
    ByVal width As Integer, _
    ByVal height As Integer, _
    ByVal channels As Integer, _
    ByRef pInData As Byte&, _
    ByRef pByteCount As Integer, _
    ByVal ppOutBuff As IntPtr _
)
[C#]
public void CompressTexture (
    esriTextureCompressionType type,
    int width,
    int height,
    int channels,
    ref Byte& pInData,
    ref int pByteCount,
    ref IntPtr ppOutBuff
);
[C++]
HRESULT CompressTexture(
  esriTextureCompressionType type,
  long width,
  long height,
  long channels,
  Byte* pInData,
  long* pByteCount,
  Byte** ppOutBuff
);
[C++]

Parameters type [in]
type is a parameter of type esriTextureCompressionType width [in] width is a parameter of type long height [in] height is a parameter of type long channels [in] channels is a parameter of type long pInData [in] pInData is a parameter of type Byte pByteCount [out] pByteCount is a parameter of type long ppOutBuff [out] ppOutBuff is a parameter of type Byte

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Do not use members of this interface. This is a private interface, that will be removed in future releases.

See Also

ITextureCompression Interface