DarkBASIC Professional Help File

DX11 CREATE SAMPLER STATE

Creates a new sampler state having the following initial values:

- Filter: MIN_MAG_MAP_LINEAR
- Addresses (U through W): WRAP
- LOD: maximum range
- Mip LOD bias: 0.0
- Max anisotropy: 1
- Comparison function: NEVER

Syntax

    Return Dword = DX11 CREATE SAMPLER STATE()

Parameters

    This function does not take any parameters.

Returns

The created sampler state.

See also

SAMPLERSTATE Functions Menu
DX11 Function Categories