Function setDepthClamp

Synopsis

#include <Source/Falcor/Core/API/RasterizerState.h>

Desc & setDepthClamp(bool clampDepth)

Description

Determines weather to clip or cull the vertices based on depth

Parameters:

clampDepth - If true, clamp depth value to the viewport extent. If false, clip primitives to near/far Z-planes

Source

Lines 88-88 in Source/Falcor/Core/API/RasterizerState.h.

Desc& setDepthClamp(bool clampDepth) { mClampDepth = clampDepth; return *this; }





Add Discussion as Guest

Log in to DocsForge