DarkBASIC Professional Help File

DX11 SET SAMPLER STATE MAX ANISOTROPY

Sets the maximum anisotropy value to be used if the D3D11_FILTER_ANISOTROPIC or D3D11_FILTER_COMPARISON_ANISOTROPIC is
set for the sampler state.

Syntax

    DX11 SET SAMPLER STATE MAX ANISOTROPY samplerState, maxAnisotropy

Parameters

    samplerState

> Dword
> The sampler state to set the maximum anisotropy level for.

    maxAnisotropy

> Dword
> The maximum anisotropy level to set for the given sampler state. The valid range is [1..16].

Returns

This function does not return a value.

See also

SAMPLERSTATE Functions Menu
DX11 Function Categories