DarkBASIC Professional Help File

DX11 SET TESSELLATION SHADERS

Sets the hull and domain shaders of the given shader technique.
Both shaders have to be provided at once since one cannot work without the other.
Note that you must use the DX11 mode to be able to use hull / domain shaders!
Can be changed in realtime.

Syntax

    DX11 SET TESSELLATION SHADERS shaderTechnique, hullShader, domainShader

Parameters

    shaderTechnique

> Dword
> The shader technique to set the hull and domain shaders of.

    hullShader

> Dword
> The hull shader to set for the given shader technique. You can set this to nullptr (0) in order to remove both the hull and domain shaders from the given shader technique.

    domainShader

> Dword
> The domain shader to set for the given shader technique. You can set this to nullptr (0) in order to remove both the hull and domain shaders from the given shader technique.

Returns

This function does not return a value.

See also

SHADERTECHNIQUE Functions Menu
DX11 Function Categories