This document is archived and information here might be outdated. Recommended version. |
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
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.