Axiom.RenderSystems.DirectX9.D3DRenderSystem.SetTextureLayerAnisotropy C# (CSharp) Метод

SetTextureLayerAnisotropy() приватный метод

private SetTextureLayerAnisotropy ( int stage, int maxAnisotropy ) : void
stage int
maxAnisotropy int
Результат void
        public override void SetTextureLayerAnisotropy( int stage, int maxAnisotropy )
        {

            if (maxAnisotropy > _deviceManager.ActiveDevice.D3D9DeviceCaps.MaxAnisotropy)
                maxAnisotropy = _deviceManager.ActiveDevice.D3D9DeviceCaps.MaxAnisotropy;

            if ( ActiveD3D9Device.GetSamplerState( stage, SamplerState.MaxAnisotropy ) != maxAnisotropy )
            {
                SetSamplerState( stage, SamplerState.MaxAnisotropy, maxAnisotropy );
            }
        }
D3DRenderSystem