DarkBASIC Professional Help File

DX11 GET SAMPLER STATE

Retrieves the sampler state used by the given shader technique.

Syntax

    Return Dword = DX11 GET SAMPLER STATE(shaderTechnique, stage)

Parameters

    shaderTechnique

> Dword
> The shader technique to retrieve the sampler state of.

    stage

> Dword
> The texture stage to get the sampler state of for the given shader technique (valid range [0..15]).

Returns

The sampler state in use by the given shader technique at the given texture stage, or 0 if there is none.

See also

SHADERTECHNIQUE Functions Menu
DX11 Function Categories