DarkBASIC Professional Help File

DX11 SET SAMPLER STATE MIP LOD BIAS

Sets the mip LOD bias value of the given sampler state.
The bias value is added to the mipmap level determined for a certain texture lookup (which is dependent
on how far away from the camera position it is) and can thus be used to use lower detail mip maps than
what would normally be used. Can be of use when providing a player with the option of decreasing texture detail to
increase the refresh rate.

Syntax

    DX11 SET SAMPLER STATE MIP LOD BIAS samplerState, bias

Parameters

    samplerState

> Dword
> The sampler state to set the mip lod bias of.

    bias

> Float
> The bias value to set for the given sampler state.

Returns

This function does not return a value.

See also

SAMPLERSTATE Functions Menu
DX11 Function Categories