DarkBASIC Professional Help File

DX11 SET GEOMETRY SHADER

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

Syntax

    DX11 SET GEOMETRY SHADER shaderTechnique, geometryShader

Parameters

    shaderTechnique

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

    geometryShader

> Dword
> The geometry shader to set for the given shader technique. You can set this to nullptr (0) in order to remove the geometry shader from the given shader technique.

Returns

This function does not return a value.

See also

SHADERTECHNIQUE Functions Menu
DX11 Function Categories