DarkBASIC Professional Help File

DX11 SET PIXEL SHADER

Sets the pixel shader of the given shader technique.
Can be changed in realtime.

Syntax

    DX11 SET PIXEL SHADER shaderTechnique, pixelShader

Parameters

    shaderTechnique

> Dword
> The shader technique to set the pixel shader of.

    pixelShader

> Dword
> The pixel shader to set for the given shader technique.

Returns

This function does not return a value.

See also

SHADERTECHNIQUE Functions Menu
DX11 Function Categories