This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITextureCompression Interface > ITextureCompression.CompressTexture Method (ArcObjects .NET 10.5 SDK) |
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
Do not use members of this interface. This is a private interface, that will be removed in future releases.