Sets texture compression type of a layer.
[Visual Basic .NET] Public Sub set_TextureCompressionType ( _ ByVal pLayer As ILayer, _ ByVal A_2 As esriTextureFormatType _ )
[C#] public void set_TextureCompressionType ( ILayer pLayer, esriTextureFormatType A_2 );
[C++]
HRESULT put_TextureCompressionType(
ILayer* pLayer,
esriTextureFormatType
);
[C++]Parameters
pLayer [in]pLayer is a parameter of type ILayer
[in]is a parameter of type esriTextureFormatType
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
The JPEG compression is the default compression type in memory and persistence. DXT is optional at runtime; it takes advantage of the graphic card capability and may improve runtime performance significantly. Try different texture compression type in combination of different texture down-sampling factor for acceptable performance and visual quality. Change of texture compression type does not affect texture visual quality.