This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeDisplayLayers2 Interface > IGlobeDisplayLayers2.TextureDownsamplingFactor Property (ArcObjects .NET 10.4 SDK) |
Sets texture down-sampling factor of a layer.
[Visual Basic .NET] Public Sub set_TextureDownsamplingFactor ( _ ByVal pLayer As ILayer, _ ByVal A_2 As Double _ )
[C#] public void set_TextureDownsamplingFactor ( ILayer pLayer, double A_2 );
[C++]
HRESULT put_TextureDownsamplingFactor(
ILayer* pLayer,
double
);
[C++]
Parameters pLayer [in]
pLayer is a parameter of type ILayer [in] is a parameter of type double
The value ranges from 0.0 to 10.0, with 1.0 applying no down-sampling and 10.0 maximum down-sampling. The value set by the user will be snapped to the next lower power of 2 because OpenGL can only take a power of 2 number for the texture dimension. Generally, the larger the number, the more texture down-sampling, meaning coarser texture resolution, hence the better navigation performance, due to less memory consumption by textures.