HasStencilBits

Returns whether the given format contains stencil information.

Windows
MacOS
Linux

References

Module

D3D12RHI

Header

/Engine/Source/Runtime/D3D12RHI/Public/D3D12Util.h

Include

#include "D3D12Util.h"

Syntax

bool HasStencilBits
(
    DXGI_FORMAT InFormat
)

Remarks

Returns whether the given format contains stencil information. Must be passed a format returned by FindDepthStencilDXGIFormat, so that typeless versions are converted to their corresponding depth stencil view format.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss