DarkBASIC Professional Help File

DX11 SET SAMPLER STATE TEXTURE ADDRESS MODE

Sets the texture address mode of the given sampler state.
Valid mode values map directly to the D3D_TEXTURE_ADDRESS_MODE enumeration you can find described on MSDN.

Syntax

    DX11 SET SAMPLER STATE TEXTURE ADDRESS MODE samplerState, addressModeU, addressModeV, [addressModeW]

Parameters

    samplerState

> Dword
> The sampler state to set the texture address mode of.

    addressModeU

> Dword
> The address mode to set for the U dimension.

    addressModeV

> Dword
> The address mode to set for the V dimension.

    [Optional] addressModeW

> Dword
> The address mode to set for the W dimension. Defaults to D3D11_TEXTURE_ADDRESS_WRAP if not set.

Returns

This function does not return a value.

See also

SAMPLERSTATE Functions Menu
DX11 Function Categories