Function setDepthStencilTarget

Synopsis

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

Desc & setDepthStencilTarget(ResourceFormat format, bool allowUav=false)

Description

Set the format of the depth-stencil target.

Parameters

[ in ] format - Texture resource format

[ in ] allowUav - Whether the resource can be a UAV

Source

Lines 60-60 in Source/Falcor/Core/API/FBO.h.

Desc& setDepthStencilTarget(ResourceFormat format, bool allowUav = false) { mDepthStencilTarget = TargetDesc(format, allowUav); return *this; }





Add Discussion as Guest

Log in