DarkBASIC Professional Help File

DX11 SET RASTERIZER STATE CULL MODE

Sets the cull mode of the given rasterizer state.
Used to set the how faces are culled when rendering meshes with this rasterizer mode;
no culling (1), frontface culling (2) or backface culling (3).

Syntax

    DX11 SET RASTERIZER STATE CULL MODE rasterState, cullMode

Parameters

    rasterState

> Dword
> The rasterizer state to set the cull mode of.

    cullMode

> Dword
> The cull mode to set for the given rasterizer state. Valid values map directly to the D3D11_CULL_MODE enumeration described on MSDN.

Returns

This function does not return a value.

See also

RASTERIZERSTATE Functions Menu
DX11 Function Categories